4 ms·
Yup, the second sentence in the post is incorrect. > From those 5 characters you can determine the city, the state, and the country. You can't infer the count
by NicuCalcea 7mo ago
Yup, the second sentence in the post is incorrect.
> From those 5 characters you can determine the city, the state, and the country.
You can't infer the country from a postcode.
- hyperhello 7mo agoIn the example, you might at least be able to cut down your menu choices to Maine or Mexico.
- NicuCalcea 7mo agoThat assumes the existence of a reliable, free postcode API of all addresses on the planet. I did a very brief search, and none of the commercial offerings I could test recognised the postcode of the Eastern European neighbourhood I was born in. Also, like half of African countries don't have postcodes. It's just not a good system.
- gmueckl 7mo agoOnly if you're limiting yourself tok those two countries. A lot of countries use the entirety of a 4 or 5 digit range for their codes. Any given 5 digit number is likely a valid ZIP code in at least half dozen countries.
- deleted 7mo ago[deleted]
- II2II 7mo agoThe form stopped accepting input at five characters. I could not enter a "zip code" for my country even if I wanted to. Even if they fixed that, there are other issues. (You pretty much need to cross-reference it with a database, which assumes said database even exists.)
- thrance 7mo agoFrance also uses 5-digits zip codes, and many other countries too I'd wager.