PostcodeDog
English
Home/Blog/Data notes

One post code, nine towns: the trap in every post code dataset

German code 01945 maps to nine places, while 11010 exists in 15 countries. Why a post code is a delivery area, not an address — with real examples from the data.

Read 3 minData notes

The short version

A post code identifies a delivery area, not a unique address. One code can cover several municipalities, thousands of addresses, or appear in more than one country. If a lookup returns multiple places, the data is usually right and the code is simply doing what it was designed to do.

One code, nine places

Look up German code 01945 in the PostcodeDog dataset and you get nine rows, all in Brandenburg:

Place State
Tettau Brandenburg
Guteborn Brandenburg
Grünewald Brandenburg
Hermsdorf Brandenburg
Lindenau Brandenburg
Ruhland Brandenburg
Kroppen Brandenburg
Hohenbocka Brandenburg
Schwarzbach Brandenburg

Nine municipalities share one delivery code. For a local mail carrier this is not ambiguous: the code describes a route that happens to cross several small towns. For a checkout form, it is a problem if the city field is left empty, because the backend cannot tell which town the parcel is for.

Why one code covers several places

  • Delivery areas are not administrative areas. Postal routes follow sorting centres; municipal borders follow politics. The two rarely line up exactly.
  • Low density. A rural route may cover several towns, while an urban code may cover a few streets.
  • Historical mergers. Towns merge administratively but keep older codes, so several historical names sit under one code.
  • Institutional codes. Universities, government offices and large campuses sometimes get their own delivery code, which also looks like “one code, many places”.

The bigger trap: the same code across countries

Numeric post codes repeat heavily between countries. Grouping global records by the normalised code (spaces and hyphens removed), the most shared codes are:

Code Countries Some of them
11010 15 DE, DZ, ES, FR, GT, IT, KR, LK, LT, MY, PK, PL, SE, UA, US
12000 15 CZ, DZ, FR, GT, KR, LK, MX, MY, PE, PK, RS, SE, TH, TR, UY
2000 15 AR, AT, AU, BD, BE, BG, CH, CY, DK, HU, MK, NO, PH, SI, ZA

So “look up 11010” is an incomplete question. Without a country, the only honest answer is a list of candidates. PostcodeDog ranks by country, but the form still needs a country field.

What this means for forms and lookups

  1. Never skip the country field. Without it, a lookup can only return candidates.
  2. State or province is the second filter. For a multi-place code such as 01945, the state narrows the list.
  3. A missing city name does not make the code invalid. Some small places are missing from the source data.
  4. Do not reverse-engineer a street address from a post code. A code validates an area, not a doorstep.

How to disambiguate

  • Check the country first. Wrong-country is the most common cross-border order error.
  • Check the state or province, especially in the US, Germany, Canada and Australia.
  • Ask the recipient for the full address, including street number and city. The post code is only one field.
  • In bulk processing, flag rows with multiple places and review them by hand.

How the data is normalised

The PostcodeDog dataset comes from GeoNames: about 1.83 million rows, 123 country/territory codes (82 with full country pages). We normalise the code to uppercase, strip spaces and hyphens, and match place names without diacritics. So SW1A 1AA, sw1a1aa and SW1A-1AA collapse into one code_key, while the place rows keep their original spelling.

That also means multiple rows under one code_key are real places, not duplicates.

FAQ

Which city do I enter for a multi-place code? The city in the recipient’s address. If you do not know it, enter the state and code and ask the recipient to complete it.

Why does the same code exist in different countries? Each country encoded independently. There is no global coordination of numeric space, so collisions are normal.

Does a multi-place code affect delivery? Yes. Missing city or state can send a parcel to manual sorting, especially across borders.

datamultiple placesshared codes
Post code examples come from the PostcodeDog dataset (GeoNames, CC BY 4.0). Platform and carrier rules defer to official documentation. Data & license.
Also available in简体中文
← All posts