Skip to content

About

Python3 and Windows compatible fork of https://github.com/greencoder/us-zipcode-to-geojson

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Port README

Python 3 fork of https://github.com/greencoder/us-zipcode-to-geojson Includes minor modifications for Python 3 compatibility and windows compatibility.

Run with

python process.py

It will download all source data necessary.

Original README

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

Python3 and Windows compatible fork of https://github.com/greencoder/us-zipcode-to-geojson

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages