Show HN: zipasaur.us, a simple postal code API
1–10 of 10 posts
Re: Show HN: zipasaur.us, a simple postal code API
#2Re: Show HN: zipasaur.us, a simple postal code API
#3Re: Show HN: zipasaur.us, a simple postal code API
#4Related: can you expand it to include the reverse (geolocation to zip code)? Anyone know of a restful service that might do that, alternatively?
Here's a typical ZIP code database entry:
"74857","Newalla","OK","35.351612","-97.19507","-6","1"
The fields are ZIP code, place name, state, latitude ("-" = south), longitude ("-" = west), time zone, location honors daylight time. So no size or shape for the zone itself, only a location within the zone.
An algorithm might find the geographically nearest ZIP code position for a given argument position and return that result, but it would likely be wrong in many situations where there are a lot of ZIP codes, like urban areas.
Re: Show HN: zipasaur.us, a simple postal code API
#5Re: Show HN: zipasaur.us, a simple postal code API
#6Related: can you expand it to include the reverse (geolocation to zip code)? Anyone know of a restful service that might do that, alternatively?
That would be very difficult, and couldn't be made deterministic with a typical ZIP code database. The reason is most ZIP code databases list a geological position representing a location within the zone, but not its perimeter or geological extent. Therefore, converting from a geological position to a ZIP code would be a guessing game. Here's a typical ZIP code database entry: "74857","Newalla","OK","35.351612","-97.…
Re: Show HN: zipasaur.us, a simple postal code API
#7Re: Show HN: zipasaur.us, a simple postal code API
#8Re: Show HN: zipasaur.us, a simple postal code API
#9Give an example with multiple word city name. For example, would http://zipasaur.us/state/il/city/east+moline or http://zipasaur.us/state/ca/city/los+angeles work?
Re: Show HN: zipasaur.us, a simple postal code API
#10I saw the donate button. Are you on Gittip? I'd be happy to set up a recurring donation if I end up using this in some of my projects.