9/20/2007

How to create a spatial db by using postgresql and postgis

createdb db_name
createlang -D db_name plpgsql
psql -D db_name < /usr/local/share/lwpostgis.sql
psql -D db+name < /usr/local/share/spatial_ref_sys.sql

======To import a shapefile======
shp2pgsql --help

No comments: