process taxi_zones & add to db

This commit is contained in:
Andrey Bakhvalov 2018-10-16 14:04:22 +03:00
parent a3a14b74bb
commit b5d554faca

View File

@ -2,6 +2,7 @@
wget -O ${HOME}/taxi_zones.zip https://s3.amazonaws.com/nyc-tlc/misc/taxi_zones.zip wget -O ${HOME}/taxi_zones.zip https://s3.amazonaws.com/nyc-tlc/misc/taxi_zones.zip
unzip ${HOME}/taxi_zones.zip -d ${HOME} unzip ${HOME}/taxi_zones.zip -d ${HOME}
ogr2ogr -f PostgreSQL PG:dbname=db -nln taxi_zones ${HOME}/taxi_zones.shp
for i in 01 02 03 04 05 06 07 08 09 10 11 12 for i in 01 02 03 04 05 06 07 08 09 10 11 12
do do