Created
December 4, 2012 15:20
-
-
Save Pop-Code/4205080 to your computer and use it in GitHub Desktop.
Install PostGresql PostGis and osm2pgsql
This file contains 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
psql -d yourdatabase -f Chemin_vers_le_dossier_contrib/postgis.sql -U postgres | |
psql -d yourdatabase -f Chemin_vers_le_dossier_contrib/postgis_comments.sql -U postgres | |
psql -d yourdatabase -f Chemin_vers_le_dossier_contrib/spatial_ref_sys.sql -U postgres | |
This file contains 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 port install postgis2 |
This file contains 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
createdb yourdatabase -U postgres -W -h localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment