Mapa coroplético municipal
ibge_mapaGenerate a municipal choropleth map as SVG from official IBGE indicators and meshes for 2–50 municipalities in one state. It supports quantile/equal-interval classes and returns SVG map data.
Instructions
Generates a municipal choropleth map as SVG from audited SIDRA indicators and official IBGE municipal meshes.
Scope of this first cartographic release:
2 to 50 municipalities
all municipalities must belong to the same state
indicators: populacao, populacao_censo, pib, area, densidade, alfabetizacao, domicilios
classification: quantiles or equal intervals
output: lightweight metadata plus complete SVG in structuredContent.svg
The SVG includes municipal polygons, sequential classes, legend, title, tooltips and source note. The server fetches the state municipal mesh at minimum quality and filters it to the requested municipalities.
Use a different tool when:
You need only geometry/download URL → ibge_malhas
You need non-cartographic comparison/ranking → ibge_comparar
You need thematic territorial composition (biomes, metropolitan regions, etc.) → ibge_malhas_tema
Behavior: read-only and idempotent. The map is a server-side derived product from official IBGE SIDRA data and official IBGE geographic meshes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"municipios": "<municipios>"
},
"name": "ibge_mapa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titulo | No | ||
| classes | No | ||
| largura | No | ||
| indicador | No | populacao | |
| municipios | Yes | Códigos IBGE municipais de 7 dígitos, separados por vírgula; todos na mesma UF | |
| classificacao | No | quantis |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | ||
| bbox | Yes | ||
| nome | Yes | ||
| fontes | Yes | ||
| tabela | Yes | ||
| classes | Yes | ||
| indicador | Yes | ||
| provenance | Yes | Bloco de proveniência (contrato v1.1): fonte, URL, período, extração e licença | |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) | |
| localidades | Yes | ||
| classificacao | Yes |