Opened 5 years ago

Closed 5 years ago

#4734 closed defect (fixed)

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

Reported by: layer3switch Owned by: geocoding@…
Priority: critical Milestone:
Component: nominatim Version: 2.0
Keywords: nominatim New York City is not in New Jersey Cc:

Description

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

Change History (1)

comment:1 Changed 5 years ago by lonvia

  • Resolution set to fixed
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.