Skip to content

kylper/us-zipcode-to-geojson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

us-zipcode-to-geojson

GeoJSON files for all US Zip Codes

Data Sources

I got the data from the US Census Zip Code Tabulation Areas page.

Since the data does not have any city, state, or centroid information, I added in data from the Geonames.org free postal code data page.

Getting the source data

I created a shell script that can be used to pull down all the data:

$ ./get_source_data.sh

Since I needed all the U.S. territories, I had to pull those down and concatenate them to the US.txt file.

Running the script

Run the process.py command:

$ python process.py

The resulting data will be written into the data directory.

About

GeoJSON files for all US Zip Codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.3%
  • Shell 25.7%