Hacker News new | ask | show | jobs
by dihydro 1399 days ago
One thing that should be standard by now is for addresses in the USA or other countries that have ZIP or Postal codes per municipality or area, the zip/postal should be entered first and auto fill the city if it is unique. There should be very few times where "USA, 20755" doesn't give the correct location.
2 comments

This has always bothered me with web forms.

Back in 1992, I developed networked databases applications for macOS using Panorama. It included looking up city and state from ZIP codes. The only times I recall it getting the wrong info was in cases of recent city boundary changes.

Panorama still exists, it was so much better than Access or FileMaker.

https://provue.com

I just implemented the USPS APIs and they all require a street address in order to succeed, due to the need for disambiguation. What I really wanted was something like you describe, because I don't always have a street address so much as a general region. All the other API offerings are way too pricey for my purposes, or look scammy. I ended up scraping Wikipedia and making a generic spreadsheet instead.