Changes between Initial Version and Version 1 of ROE download and load


Ignore:
Timestamp:
Mar 12, 2010 1:43:18 PM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ROE download and load

    v1 v1  
     1Download on ccm on the web site ¶ 
     2 
     3You can download the ROE data and add it into Postgres with the geobs_sans_image_2010_01_08.backup (EDAData/dataEDAcommun/barrage/geobs_sans_image_2010_01_08.backup). 
     4 
     5 
     6Add data into Postgres  
     7 
     8[[Color(,red,A VERIFIER !)]] 
     9{{{ 
     10REM================================================ 
     11REM Copier coller les commandes dans une invite de commande 
     12- Ouvrir une fenêtre d'Invite de commandes : 
     131) Cliquez sur Démarrer/Exécuter... 
     142) Dans la zone de texte Ouvrir : saisissez : cmd et validez par OK. 
     15REM================================================ 
     16 
     17REM================================================ 
     18REM Script pour Céline (la connexion change - p 5432) 
     19REM================================================ 
     20REM Création de la base de donnée 
     21REM correspond au point 1 de http://62.160.92.241:8066/trac/wiki/CookBook%20shptopostgres 
     22C:\"Program Files"\PostgreSQL\8.4\bin\psql -p 5432 -U postgres -c "CREATE DATABASE ROE  WITH OWNER = postgres  template=postgis ENCODING = 'UTF8'  LC_COLLATE = 'French_France.1252'  LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1;" 
     23cd C:\Program Files\PostgreSQL\8.4\bin\ 
     24pg_restore.exe --host localhost --port 5432 --username postgres --dbname "ROE" --verbose "C:\Celine Jouanin\workspace\EDAData\dataEDAcommun\barrage\geobs_sans_image_2010_01_08.backup" 
     25 
     26REM================================================ 
     27REM Script pour Cédric (la connexion change - p 5433) 
     28REM================================================ 
     29REM Création de la base de donnée 
     30REM correspond au point 1 de http://62.160.92.241:8066/trac/wiki/CookBook%20shptopostgres 
     31C:\"Program Files"\PostgreSQL\8.4\bin\psql -p 5432 -U postgres -c "CREATE DATABASE ROE  WITH OWNER = postgres  template=postgis ENCODING = 'UTF8'  LC_COLLATE = 'French_France.1252'  LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1;" 
     32cd C:\Program Files\PostgreSQL\8.4\bin\pg_restore.exe --host localhost --port 5432 --username postgres --dbname "ROE" --verbose "C:\Celine Jouanin\workspace\EDAData\dataEDAcommun\barrage\geobs_sans_image_2010_01_08.backup" 
     33}}}