2/27/2008

create database world_borders

shp2pgsql world_borders.shp world_borders.sql
createdb world_borders
createlang plpgsql world_borders
psql -d world_borders -f /usr/local/pgsql/share/lwpostgis.sql
psql -d world_borders -f /usr/local/pgsql/share/spatial_ref_sys.sql
psql -d world_borders -f path-to/world_borders.sql

No comments: