Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

city/village does not show up in results when hamlet is present #4305

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: don[at]drakeconsulting.com
[Submitted to the original trac issue database at 8.16pm, Friday, 16th March 2012]

I'm doing a reverse geocode and would like to see the village/city of a particular point.

For example:
http://nominatim.openstreetmap.org/reverse?format=xml&lat=42.05033650&lon=-87.98355006&zoom=18&addressdetails=1

Returns:


Arlington Heights Fire Station, South Arlington Heights Road, Schnells Corner, Cook, Illinois, 60005, United States of America


<fire_station>Arlington Heights Fire Station</fire_station>
South Arlington Heights Road
Schnells Corner
Cook
Illinois
60005
United States of America
<country_code>us</country_code>

This point is in Arlington Heights, but the Village does not appear in the results. This "Schells Corner" is too large, but that's another problem.

If I nudge that point a little North, the Hamlet disappears and the correct Village appears:

http://nominatim.openstreetmap.org/reverse?format=xml&lat=42.05633650&lon=-87.98355006&zoom=18&addressdetails=1

West Pickwick Road, Arlington Heights, Cook, Illinois, 60005, United States of America West Pickwick Road Arlington Heights Cook Illinois 60005 United States of America us

Is there a reason city/village does not appear in the results when hamlet does? Can I always see the city/village in the result?

Thanks.

-Don

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.21pm, Friday, 16th March 2012]

Villages and hamlets are on the same level in Nominatim, only one of the two can appear in the address.

Above results are approximate because the village appears in the OSM data as a place node only. Nominatim has to make a guess according to the closest place node it finds. If you want more precise results, enter the exact extents of the village as a boundary polygon in OSM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant