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

So I tried to properly map a lot of a village nearby, but it seems that things are not alright as I can't search for a house I mapped and have openstreetmap.org pull up the proper building.

For instance this search

  • the building is tagged with: "addr:housenumber 15",
  • the street has "name:Chemin de l'...",
  • the building is part of a relation "associatedStreet:Chemin de l'...", just like the address I'm looking up.

I did this change several days ago, so I was expecting openstreetmap.org to have these tags.

Is there anything else that's required? What am I missing? Am I supposed to tag each individual house/building with "addr:street" ?

asked 12 Mar '14, 20:30

ma1's gravatar image

ma1
11112
accept rate: 0%

edited 13 Mar '14, 09:47

scai's gravatar image

scai ♦
33.3k21309459

Does it work for older addresses? How are they tagged? The search DB update should not be a problem currently (see FAQ).

(12 Mar '14, 20:46) aseerel4c26 ♦

please write your tags, as usual, in this form: key = value. Do not use a ":" as separator.

(12 Mar '14, 20:50) aseerel4c26 ♦

Since you are asking re. search: According to its FAQ Nominatim (the engine which is the main power of www.osm.org's search) understands the relation tagging and addr:street directly. Maybe you did it wrong (although the object in question looks good to me). Compare with working results.

(12 Mar '14, 20:52) aseerel4c26 ♦

This seems to be caused by a Nominatim bug with the associatedStreet relation. Bug 4877 is about the building being attached to a street without a name, which prevents Nominatim to determine the correct address. This is true in your case, because the building is located near way 35883781 which is also part of the associatedStreet relation, but doesn't have a name tag.

Also do note that there is another issue. Bug 4619 is about Nominatim being unable to update its index correctly even if you modify the relation or the street. As far as I understand the bug you have to modify the building, too, in order to trigger a reindexing of the building's address.

According to user lonvia, one of the top most Nominatim contributors, the best would be to use addr:street tags on each object instead of the associatedStreet relation. One could argue that this is tagging for the geocoder, but the associatedStreet relation isn't used very widely and consequently lacks proper support in many tools. And I don't think that this situation will improve.

permanent link

answered 12 Mar '14, 21:09

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 12 Mar '14, 21:13

Interesting, but note that the building for "Chemin de l'Ochettaz 27B" does have the proper tag "addr:street", yet osm.org/nominatim can't find it. Is the mere existence of the associatedStreet relation the problem then?

(12 Mar '14, 21:21) ma1

I don't know the Nominatim internals to answer that question. But the query for Chemin de l'Ochettaz 27B succeeds now. Likewise your original query for house number 15.

(13 Mar '14, 07:47) scai ♦

The "highway=residential" https://www.openstreetmap.org/way/26637405#map=16/46.5120/6.5556 needs a tag "name", not a tag "addr:street" (visible on version #17) !

(13 Mar '14, 09:57) Pieren

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:

×930
×689
×111
×4

question asked: 12 Mar '14, 20:30

question was seen: 4,642 times

last updated: 13 Mar '14, 09:57

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