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

Help in understanding which suburbs get returned in Nominatim search

1

Hello,

I need to understand why this happen.

City of Arona in Italy has three suburbs, and one of the three is called Mercurago.

I am searching in OSM: Via Piave, Arona

and Nominatim always returns: Residential Via Piave, Mercurago, Arona, Novara, Piemonte, Italy

Mercurago is actually a suburb of Arona, but Via Piave is in Arona and not in Mercurago.

Can you please help me in understanding why the suburb of Mercurago is always returned in all the search for Arona's roads, regardelss they are in Mercurago or not ?

Thanks

asked 25 Aug '14, 19:06

maxicampa's gravatar image

maxicampa
31113
accept rate: 0%

edited 26 Aug '14, 15:59

neuhausr's gravatar image

neuhausr
7.5k870121


One Answer:

1

Nominatim always composes the address based on the nodes that are the nearest. So probably the node representing Mercurago is so close to Via Piave that Nominatim assumes that is the suburb to take.

The only way to solve this is to replace the suburb node with a boundary relation representing the suburb. I would contact the Italian community to find out how this is normally done in Italy. E.g. are there sources from which the boundaries can be copied ?

answered 26 Aug '14, 15:01

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Would using "is_in=Arona" on the suburbs help Nominatim to get it right?

(01 Sep '18, 08:11) Joseph E

Source code available on GitHub .