All Countries States Cities and Zipcodes in a Application

僤鯓⒐⒋嵵緔 提交于 2019-12-02 19:48:39

Thanks Guys,

I got all the the countries and states of all of them, but no zip codes.

http://27.org/isocountrylist/iso_country_list.sql

This contains all countries, and there iso-3166 codes ( Siberia code needs to be changed from "CS" to "RS")

And here is the FIPS file for countries with states

http://www.maxmind.com/app/fips_include

For zip code validation I am using

http://www.geonames.org webservices

There is a geonames ruby gem as well, which makes it really simple to do zipcode validations

Hope that helps anybody who needs this information, worth keeping it handy for web projects.

Another Link ( thanks @laise ): http://dev.maxmind.com/static/csv/codes/maxmind/region.csv

The Carmen plugin is almost certainly what you're looking for.

This will take a little legwork and data munging, but it's not too bad.

Countries and country codes are easy to come by. Sounds like you already have them.

Not all countries are divided into states. You may have to simply address these one by one-- there may be some combined reference, but not that I know of.

U.S. cities are available, and look for things like FIPS codes. There are commercial data providers that will provide you clean, well-organized data, but they are charging for it.

The post office has some databases with all the zip codes. Note that these charge periodically, and a single zip code doesn't imply a single single (far from it!). And it may not be necessary to actually have a database of all of them, as there are zip verification/correction services available for free.

For loading the data, check out a recent railscast on the subject.

I was looking for the same and found this resource. I hope somebody serves well as me.

http://dev.mysql.com/doc/world-setup/en/index.html

For those using the FIPS 10-4/FIPS 5-2 standard, I have been maintaining the NGA GEC (formerly FIPS 10-4/5-2) Excel spreadsheet (original format) for 1st level administrative divisions of countries. The spreadsheet is currently updated to Update 15 (March 2014): http://www.opengeocode.org/archive.php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!