-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Is there a "layer" for postcodes/ZIP codes? #312
Comments
Not at this time. Our data team is looking into how we might be able to Also Zip Codes are weird, in that they're actually postal routes, not On Fri, Sep 25, 2015 at 2:06 PM, Steven Vance notifications@github.com
David Riordan | Product Manager - Search | dave.riordan@mapzen.com | |
The postcodes themselves are not, but specifying the postcode will boost the position of matching venues. eg. "130 west 26th street"
1) 130 West 26th Street, Bloom, IL
2) 130 West 26th Street, Manhattan, NY
3) 130 West 26th Street, Hamilton, Ontario
4) 130 West 26th Street, Merced, CA
5) 130 West 26th Street, Buena Vista, VA
"130 west 26th street, 10001"
1) 130 West 26th Street, Manhattan, NY
2) 130 West 26th Street, Bloom, IL
3) 130 West 26th Street, Hamilton, Ontario
4) 130 West 26th Street, Merced, CA
5) 130 West 26th Street, Buena Vista, VA The You can test this out by sending a fully specified address and then looking in the meta data of the response object. If the address parser produces something like eg. "130 west 26th street"
"parsed_text": {
"number": 130,
"street": "west 26th street",
"regions": []
},
"130 west 26th street, 10001"
"parsed_text": {
"name": "130 west 26th street",
"number": 130,
"street": "west 26th street",
"postalcode": 10001,
"regions": [],
"admin_parts": "10001"
}, At this time address parsing is disabled for This parsing logic is actually super hard to get right internationally; because addresses. Our current solution is based on https://github.com/DamonOehlman/addressit What you'll find is that postcode coverage is not amazing, and we are always looking for how to improve that, postal polygons would be a massive help. I also have a post-it note on my monitor to fix that analysis to account for spaces and oddness in the postcodes themselves. |
Thanks. @riordan I know - it's odd. Do other countries do it like the United States Postal Service? |
ref: pelias/schema#77 |
blast from the past! @stevevance I don't know of any other countries that treat their postal codes as linear routes, but that doesn't mean they don't exist. I imagine systems like UK Postcodes with small, targeted areas, but they're not routes, per se. |
I believe that postcodes and ZIP codes are not open source boundaries in some jurisdictions, but are they searchable in Pelias?
The text was updated successfully, but these errors were encountered: