https://github.com/caged/census-tools
Tools for working with NHGIS (https://www.nhgis.org) census data.
https://github.com/caged/census-tools
Last synced: 9 months ago
JSON representation
Tools for working with NHGIS (https://www.nhgis.org) census data.
- Host: GitHub
- URL: https://github.com/caged/census-tools
- Owner: caged
- Created: 2013-10-27T17:42:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-17T03:38:54.000Z (about 11 years ago)
- Last Synced: 2025-01-20T10:48:30.157Z (over 1 year ago)
- Language: Shell
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### NHGIS Census Importer
Currently there is one command [`nhgis2pgsql`](bin/nhgis2pgsql) that can import extracts from the [The National Historical Geographic Information System](https://nhgis.org).
### Example
``` bash
$ ./bin/nhgis2pgsql -d nhgis -s ~/Desktop/nhgis0010_shape.zip -c ~/Desktop/nhgis0010_csv.zip
```
The command above imports all shapefiles and data files located in the
specified directories into a PostGIS-enabled Postgres database. The shapefiles are
reprojected to [EPSG:4326](http://en.wikipedia.org/wiki/World_Geodetic_System) (WGS 84).