This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

What is correct: addr:postcode, postal_code or both?

3

I'm numbering streets with iD editor. The menu have the following options to post code:   - addr: postcode;   - postal_code.

What's the correct tag: addr:postcode, postal_code or both?

asked 18 Sep '15, 13:59

seth's gravatar image

seth
201202129
accept rate: 0%

edited 18 Sep '15, 14:01


One Answer:

7

For something that has an address - e.g. a house - use addr:postcode=1234. For a post code boundary, use boundary=postal_code, postal_code=1234. For things that neither have an address nor are a post code boundary (e.g. streets or place nodes), don't add any postal code tag.

answered 18 Sep '15, 14:02

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

I am numbered with the tag addr:interpolation by adding at line ends the following information:   - addr: housenumber;   - addr: street;   - addr: postcode or postal_code (doubt is here).

(18 Sep '15, 14:15) seth
2

@seth the line ends of an addr:interpolation are something that "have an address", so addr:postcode

(18 Sep '15, 14:23) escada

@escada thanks.

(18 Sep '15, 16:28) seth

Source code available on GitHub .