Skip to content
Brazilian city names and official codes, IBGE, LexML and others
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
data testes SQL e teste GeoJSON JaraguaSul Oct 3, 2018
demo_examples
src
.gitattributes
README.md
datapackage.json
goodtables.yml

README.md

city-codes

  goodtables.io

Comprehensive Brazilian city code information, including IBGE codes, wikidata IDs and URN LEX labels. Provided as a Simple Data Format Data Package (see datapackage.json visualization).

Brazilian city names and official codes of 5570 municipalities.

Collaborative updating

See Collaborative spreadsheet editor and Wikidata references.

Periodic dumps: please, to update dumps run

  • php src/etc/dumpWikidata.php to update data/dump_wikidata, *.json files at each state-folder.
  • php src/dumpOsm.php geo to update data/dump_osm, *.geojson files at each state-folder.

Stable versions

See homologation process after each cicle of update.

Sources

  • IBGE data in bulk of "Organizaçao do Território Brasileiro/Divisão Territorial", ftp://geoftp.ibge.gov.br/organizacao_do_territorio/estrutura_territorial/divisao_territorial

  • List of all municipalities (Wikipedia and source of Wikidata links)

  • CEP

Other links

You can’t perform that action at this time.