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

Handle missing ZIPs #14

Open
waldoj opened this issue Apr 4, 2017 · 3 comments
Open

Handle missing ZIPs #14

waldoj opened this issue Apr 4, 2017 · 3 comments

Comments

@waldoj
Copy link
Owner

waldoj commented Apr 4, 2017

e.g., 55555 (Young America, MN). This is because there is no PHZ data for this ZIP. But don't just 404—provide something useful. (Or maybe 404 is better?)

@waldoj waldoj changed the title Some ZIPs are missing Handle missing ZIPs Apr 4, 2017
@webmaven
Copy link

Is the reason there is no PHZ data for this zipcode (and other zipcodes) known?

Hypothesis: Any zipcodes that have more than one Zone within them are missing, because a more precise geolocation query would be needed to get an unambiguous result.

Corollary: Zipcodes that fall along the PHZ boundaries are the ones that are missing.

@waldoj
Copy link
Owner Author

waldoj commented Sep 27, 2017

No, I'd never found out why some ZIPs are just missing data, but my guess was the same as yours. I never could find a decent polygon of 55555, to figure out if it's just really big because Minnesota.

@webmaven
Copy link

webmaven commented Dec 24, 2017

After doing some digging, I think 55555 doesn't actually have a polygon (or perhaps it is the same polygon as 55397, depending on your mental model). The code (along with the entire range from 55550 to 555560 inclusive, and any other zip starting with 555) is a sort of virtual zip used for some arcane mail routing purpose, related to the fact that Young America is where a huge volume of mail-in submissions for public contests and rebate claims (handled by Young America Corporation) are sent.

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

2 participants