Changes

Jump to navigation Jump to search
33 bytes added ,  22:47, 20 September 2017
For example, say we want all of the state-level place data.
 
<nowiki>
# TODO
# ftp://ftp2.census.gov/geo/tiger/TIGER2016/PLACE/
</nowiki>
Also say we want to separate New York City, New York into a more granular by-borough set of polygons. Using [https://geo.nyu.edu/catalog/nyu_2451_34505 City University of New York data], we will import this shapefile.
$ cd /tmp
$ unzip boroughs.zip
$ shp2pgsql nyu_2451_34505/nyu_2451_34505.shp
$ shp2pgsql -I nyu_2451_34505/nyu_2451_34505.shp | psql -U researcher -d tigertest
$ psql --username researcher --dbname tigertest

Navigation menu