Commit e0eb1922 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

update doc

parent 025c2f25
......@@ -45,13 +45,13 @@ Création de la database
createlang plperl rv
createlang plpgsql rv # inutile pour postgres >= 9.1
Schéma de la base
Schéma de la base (si besoin en tant que postgres)
psql -d rv -c 'CREATE EXTENSION hstore;'
psql -d rv \
-f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
-f /usr/share/postgresql/VERSION/contrib/postgis-VERSION/postgis.sql
psql -d rv \
-f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql
-f /usr/share/postgresql/VERSION/contrib/postgis-VERSION/spatial_ref_sys.sql
psql -d rv \
-f /usr/share/doc/osmosis/examples/pgsnapshot_schema_0.6.sql
psql -d rv \
......@@ -73,6 +73,9 @@ Téléchargement :
mkdir data/import
wget -P data/ \
http://download.openstreetmap.fr/extracts/europe/france.osm.pbf
alternative:
http://download.geofabrik.de/north-america/us/pennsylvania-latest.osm.pbf
osmosis \
--read-pbf file=data/framce.osm.pbf \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment