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

Eg this building, which is located in Vionnaz municipality, is tagged with:

addr:city Torgon addr:housenumber 90 addr:postcode 1899 addr:street Route de Plan-de-Croix

but looking up Route de Plan-de-Croix 90 Torgon in the search field does not give any result. What do I have to change, so that the search finds the building?

asked 25 Apr '17, 12:44

SelfishSeahorse's gravatar image

SelfishSeahorse
21223
accept rate: 0%


This is reasonably simple, Torgon is defined as a polygon https://www.openstreetmap.org/way/44418169 which does not include the building you referenced.

You either need to expand the polygon (by adding the additional areas that belong to Torgon to it), or create a place node for Torgon (which will not work as good as a polygon). There may be an effort coming up to add post code areas to OSM in Switzerland see the discussion on the Swiss mailing list, however that will only help with postal cities, not with the multitude of other places.

permanent link

answered 25 Apr '17, 13:38

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Thanks for your explanation! However, there are even buildings inside the Torgon polygon - eg Chemin du Four 2 Torgon - that the search cannot find!?

(25 Apr '17, 18:27) SelfishSeahorse

That would have to be looked at in detail, however there is a completely different issue with that address: it is not from a source that is legal to use in OpenStreetMap and needs to be removed.

(25 Apr '17, 18:33) SimonPoole ♦

Back to the topic on hand, yes your example fails, but it is found without the place http://nominatim.openstreetmap.org/details.php?place_id=121822350

On the other hand http://nominatim.openstreetmap.org/details.php?place_id=119568839 is found with place (Rue de la Lanche 2, Torgon)

Can't explain it right now but that might be due to the time of day.

(25 Apr '17, 22:51) SimonPoole ♦

Nominatim (the search engine behind osm.org website) ignores a lot of address information on the nodes. Basically it takes the house number from the node and uses the street name to look up a nearby road with the same name. Then the rest of the address is taken from information found via the way.

This does not mean that the address information on a node is completely useless, as there might be other geocoders that use that information.

You can find more information about this topic on https://wiki.openstreetmap.org/wiki/Nominatim/FAQ and https://wiki.openstreetmap.org/wiki/Nominatim/Development_overview

(26 Apr '17, 06:46) escada

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:

×202
×193
×107
×14

question asked: 25 Apr '17, 12:44

question was seen: 2,230 times

last updated: 26 Apr '17, 06:46

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