Skip to content

Instantly share code, notes, and snippets.

@zh012
Last active September 21, 2015 13:31
Show Gist options
  • Select an option

  • Save zh012/5b1e21242b6a07e2d11e to your computer and use it in GitHub Desktop.

Select an option

Save zh012/5b1e21242b6a07e2d11e to your computer and use it in GitHub Desktop.
Gis commands

install gdal with postgres support

brew install gdal --with-postgresql

shape file to postgis

shp2pgsql -c -D -s 4269 -i -W LATIN1 -I xxxx.shp > xxxx.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment