Created
March 17, 2010 03:34
-
-
Save ericboehs/334870 to your computer and use it in GitHub Desktop.
Create a PostGIS template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo su postgres | |
| createdb template_postgis15 -U postgres | |
| cd /usr/share/pgsql/contrib/postgis-1.5 | |
| psql -d template_postgis15 -U postgres -c "CREATE LANGUAGE plpgsql" | |
| psql -d template_postgis15 -U postgres -f postgis.sql | |
| psql -d template_postgis15 -U postgres -f spatial_ref_sys.sql | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment