2008年10月7日星期二

shp2pgsql使用

createdb test
createlang plpgsql test
psql -d test -f lwpostgis.sql
psql -d test -f lwpostgis_upgrade.sql
psql -d test -f spatial_ref_sys.sql

shp2pgsql -s "4326" -W "GBK" test.shp test > test.sql
psql -d test -f blocks.sql

没有评论: