Liang Zou's Tech Blog
Thank you for visiting!
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment