Using the 2021 Zip Code Tabulation data, I want to create a web software that allows users to select certain zip codes mapped from Google Maps API. Problem is there are over 30k zip codes and retrieving all of those zip codes and their boundaries. The solution is to let the user select which state/region to load, and only retrieve those zip codes.

How can I algorithmically assign a zip code to a specific region or state just using the zip code (60077, 12345, etc). Is there some pattern like 1000-3000 is west region, 3000-4000 is central region?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.