Skip to content

civic-interconnect/civic-data-boundaries-us

Repository files navigation

civic-data-boundaries-us

Version License: MIT Build Status

U.S. Civic Boundary Data for Civic Interconnect

This package provides and hosts standardized U.S. boundary GeoJSONs and shapefile-derived layers from TIGER/Line shapefiles, including:

  • State and county boundaries
  • Congressional district boundaries (CD118)
  • Support for OCD and simplified formats

GeoJSON files and indexes are generated for use in civic data pipelines.

Local Development

The following commands are used to:

  1. Initialize per-state folders and config files
  2. Export state and county GeoJSON files
  3. Download and merge congressional district shapefiles (CD118)
  4. Build index summary of the data for all states

Development

See DEVELOPER.md

Pipeline

Fetch

  • Downloads TIGER zip files
  • Skips files already present

Extract

  • Unzips shapefiles into folders
  • Skips folders already extracted

Export

  • Reads shapefiles
  • Writes chunked GeoJSON files suitable for GH hosting

Cleanup

  • Removes original .zip files and extracted shapefiles once chunked GeoJSONs are complete

Space Requirements

civic-data-boundaries-us

  • 152 Files, 52 Folders
  • ~245 MB

For:

  • chunked GeoJSON exports
  • manifests and index.json
  • any remaining TIGER data
  • project source, yaml, etc.

References

Direct URLs for the TIGER/Line shapefiles (2022):

About

Civic Interconnect U.S. boundary GeoJSON files hosted with GitHub Pages

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors