NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

0
1

Where should addr:city, addr:postcode, addr:country, ... be set, when using associatedStreet relations instead of addr:street tags? It doesn't make much sense to set them on the nodes, as on of the primary benefits from using relations - not repeating the same addr:street over and over again - would be busted... But as far as I read the wiki, the associatedStreet relation itself is also not meant to hold address information.

asked 06 Oct '12, 14:50

tyr_asd's gravatar image

tyr_asd
1.2k51927
accept rate: 64%


In theory addr:* tags shouldn't be needed on associatedStreet relations; the associatedStreet has a name (the addr:street equivalent) and is in a geographical database where city, country, country, etc should be possible to work out from the location (though see comments about postcodes below).

Having said that, I can see no harm in adding addr:* tags to the relation. The addr:city one in particular might be useful for a road somewhere roughly equidistant between two cities; though it depends on each data user whether they check for and use any such tags.

addr:postcode probably requires a country specific answer, as in many parts of the UK for example there are often more than one postcodes for a single street (such as one for one side of the road and one the other, and sometimes even another for new houses slotted in amongst older ones), so in the UK the addr:postcode tag would go on the individual addresses.

permanent link

answered 06 Oct '12, 15:03

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

1

If houses on the same street have different postcodes, one could also use more associatedStreet-Relations, where the street is member in both.

(06 Oct '12, 15:56) Alexander Ro...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×107
×55
×4

question asked: 06 Oct '12, 14:50

question was seen: 3,437 times

last updated: 06 Oct '12, 16:25

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum