GithubHelp home page GithubHelp logo

nballenger / geojson-places-us Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nypl-simplified/geojson-places-us

0.0 1.0 0.0 93.86 MB

Script and data for generating a consolidated list of GeoJSON objects for places in the United States. πŸ‡ΊπŸ‡Έ

License: Other

Shell 3.34% Python 96.66%

geojson-places-us's Introduction

This repository includes data from multiple sources, and a script which consolidates the data to create a flat list of annotated GeoJSON objects representing the boundaries of a large number of places in the United States and its territories:

  • The United States itself
  • Each state and territory
  • Each county
  • Each census-designated place (e.g. cities and towns)
  • Each ZIP Code Tabulation area

Generating the list is as simple as 1-2-3:

sh 1-extract.sh
sh 2-convert.sh
python 3-consolidate.py > places.ndjson

Running the script requires that ogr2ogr be installed (it's available in the Debian package gdal-bin) and that the geojson Python library be installed.

This repository includes CC-BY data from GeoNames (http://download.geonames.org/export/zip/), and public-domain data from the US Census Bureau (https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html).

geojson-places-us's People

Contributors

leonardr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.