Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing entry for New Square, NY in autocomplete/search #93

Closed
rmglennon opened this issue Jun 11, 2015 · 2 comments
Closed

Missing entry for New Square, NY in autocomplete/search #93

rmglennon opened this issue Jun 11, 2015 · 2 comments

Comments

@rmglennon
Copy link
Member

This comment came in through technical support (see Zendesk 153), and posting here on behalf of the user.

"As you can see in the picture attached

There is a address

3 Taft Lane
New Square NY 10977

And it's on the map when search New Square NY

And I scroll to it, but in the auto complete and search it does not find it :-("

new_square

@hkrishna
Copy link
Contributor

Thanks @rmglennon for adding the issue.

this is known issue - currently the autocomplete endpoint /suggest only looks at the street address and does not handle city, state names.

Our next release (that uses ngram) should fix this issue.

@missinglink
Copy link
Member

That specific address is not in openstreetmap; however the street itself is:

Taft Lane: http://nominatim.openstreetmap.org/details.php?place_id=59479536
Centre Point: 41.1385925,-74.0315996
OSM: way 24170795

There is only one record in openstreetmap for that zip code:
http://www.openstreetmap.org/node/357550492

Looking at the openaddresses data, I found this one, but it seems to be many klicks away in NJ:
http://nominatim.openstreetmap.org/details.php?place_id=115604452

{
  "type": "Feature",
  "properties": {
    "id": "fe9d6848f6b8499a8393942a3dd16fc5",
    "layer": "openaddresses",
    "name": "3 Taft Lane",
    "alpha3": "USA",
    "admin0": "United States",
    "admin1": "New Jersey",
    "admin1_abbr": "NJ",
    "admin2": "Morris County",
    "local_admin": "Morristown",
    "locality": "Morristown",
    "neighborhood": "Monroe",
    "category": [],
    "address": {
      "number": "3",
      "street": "Taft Lane"
    },
    "text": "3 Taft Lane, Morristown, NJ"
  },
  "geometry": {
    "type": "Point",
    "coordinates": [
      -74.469197,
      40.796116
    ]
  }
}

this specific issue will unfortunately not be solved until either:

  • we get better coverage for global address data (via OSM or OA)
  • we provide a better street fallback like nominatum does which provides the street names when the numbers are not found

note: the 'way' does not exist in Pelias:
http://pelias.mapzen.com/doc?id=osmway:24170795
http://www.openstreetmap.org/way/24170795

This is related to pelias/openstreetmap#19

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

No branches or pull requests

4 participants