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

nominatim results for New York City address state info shows as New Jersey and not New York #4734

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

Comments

@openstreetmap-trac
Copy link

Reporter: layer3switch
[Submitted to the original trac issue database at 11.18pm, Thursday, 3rd January 2013]

Searching for location address from openstreetmap.org using below query;
http://nominatim.openstreetmap.org/search.php?q=18th+Street%2C+New+York+City%2C+New+York&viewbox=-73.96%2C40.61%2C-73.95%2C40.6

Above query gives following results;

  • 18th Street, Brooklyn, New York City, Kings, New Jersey, 11215, United States of America
  • 18th Street, Brooklyn, New York City, Kings, New Jersey, 11218, United States of America
  • 18th Street, Queensview Apartments, Long Island City, New York City, Queens, New Jersey, 11102, United States of America
  • 18th St, New York City, Queens, New Jersey, 11105, United States of America

In any case, State should not be "New Jersey", but should be "New York".

Looking up place_id against "New York City" gives below result;
query -> http://nominatim.openstreetmap.org/details.php?place_id=97524430
result ->
Address
...
New York (Type: boundary:administrative, relation 61320, 4, 2.79847270267168 GOTO)
New Jersey (Type: place:state, node 316973311, 15, 0.77667008952675 GOTO)
...

"New York City" place id should result state node 316976734 "New York". Instead it returns with state node 316973311 "New Jersey".

-jacob

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 5.09pm, Saturday, 5th January 2013]

That is actually a data error, the boundary of New York state was broken until recently. Looks like it has been fixed now but changes that effect such a big area don't get picked up automatically. I've refreshed the entire state now. Update is still running, should be finished in 2-3 hours.

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