Key:addr:postcode

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg addr:postcode
Farrer post code.jpg
Description
The postal code / zip code that is included in the address. Show/edit corresponding data item.
Group: addresses
URL pattern
https://ratings.food.gov.uk/enhanced-search/en-GB/%5E/$1/Relevance/0/%5E/%5E/0/1/10
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)use on relations unspecified
Status: de facto

This key is for the postal code or ZIP code included in the postal address of the feature.

Regional variations

United States

In the United States, set this key to the feature's five-digit ZIP code or, if known, the full ZIP+4 code. This key is useful because ZIP codes are routes, not areas, and they rarely correspond well to any kind of boundary. For example, use the format addr:postcode=12345 for the five-digit ZIP code or addr:postcode=12345-7890 if you know the ZIP+4.

Do not guess the ZIP code based on the postal city alone: a postal city may be associated with multiple ZIP codes. For example, Boston has 40 ZIP codes, some of which overlap geographically. Moreover, a given ZIP code may correspond to multiple postal cities: one is recommended by the USPS, but the owner at the address may prefer one of the acceptable alternatives. For example, a long-running children's TV show memorably advertised its address as being in the 02134 ZIP code of Boston, which is an acceptable alternative to the recommended city name of Allston.

The addr:postcode=* of a U.S. Post Office should be the ZIP code of that post office location's own address. Use a different key such as postal_code=* to list the ZIP codes served by the post office location.

See also

External links