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

Searching for '12345' returns a location in Louisiana, not the Schenectady, NY postal code #4113

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: gwahl[at]fusionbox.com
[Submitted to the original trac issue database at 7.55pm, Monday, 28th November 2011]

When searching for '12345',

$ curl 'http://nominatim.openstreetmap.org/search/?q=12345&format=json'|python -m json.tool
[
    {
        "boundingbox": [
            "30.270046463", 
            "30.2900483704", 
            "-90.7965905762", 
            "-90.7765829468"
        ], 
        "class": "place", 
        "display_name": "Louisiana, 12345, United States of America", 
        "lat": "30.2800464733256", 
        "licence": "Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0.", 
        "lon": "-90.7865829472683", 
        "place_id": "79713680", 
        "type": "postcode"
    }, 
    ...]

I expect the location of the Schenectady, NY postal code to be returned, not somewhere in Louisiana.

@openstreetmap-trac
Copy link
Author

Author: datendelphin
[Added to the original trac issue at 12.23pm, Sunday, 15th July 2012]

bad data in us_postcode.sql if the submitter is right and this postcode should be in Schenectady

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.45am, Saturday, 11th October 2014]

Closing in favour of osm-search/Nominatim#179

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