Colombia/Guide for mapping/postal codes

From OpenStreetMap Wiki
Jump to navigation Jump to search

Code structure

Postal codes contain 6 digits, being:

  • The first 2 digits to identify the department.
  • The following 2 to identify the postal zone (In Bogotá they are the localities).
  • Finally the last 2 correspond to the postal district.

All postal codes and their limits can be consulted through the de 4-72 .

Other types

There are also other postal codes:

  • At municipality level with 5-digit.
  • Expanded postal codes (9 digits), however we do not map this kind of postal code in OSM, since they correspond to the blocks.

Usage in OSM

Postal codes can be added:

  • To addresses using: addr:postcode=*.
  • Creating boundaries by boundary=postal_code. In this case it will be necessary to create relationships and add boundary segments. The relationship is created with the tags type=boundary, boundary=postal_code and name=*, where name would be composed of the words "Postal code " followed by the code of 6 digits. For the components of the relationship, in many cases administrative boundaries may serve. If you need another way, it is created with the tags boundary=postal_code and name=*, where name has the value of the two postal codes that it divides, separated by a hyphen: name=111321-111322. These ways must be independent of any object (rivers, roads, paths, areas).

Postal codes by department

Postal codes of Colombia by department
Apartments Zip Codes
Bogotá D.C. 11xxxx
Amazonas 91xxxx
Antioquia 05xxxx
Arauca 81xxxx
Atlántico 08xxxx
Bolívar 13xxxx
Boyacá 15xxxx
Caldas 17xxxx
Caquetá 18xxxx
Casanare 85xxxx
Cauca 19xxxx
Cesar 20xxxx
Chocó 27xxxx
Córdoba 23xxxx
Cundinamarca 25xxxx
Guainía 94xxxx
Guaviare 95xxxx
Huila 41xxxx
La Guajira 44xxxx
Magdalena 47xxxx
Meta 50xxxx
Nariño 52xxxx
Norte de Santander 54xxxx
Putumayo 86xxxx
Quindío 63xxxx
Risaralda 66xxxx
San Andrés y Providencia 88xxxx
Santander 68xxxx
Sucre 70xxxx
Tolima 73xxxx
Valle del Cauca 76xxxx
Vaupés 97xxxx
Vichada 99xxxx

More information