Changes between Version 20 and Version 21 of RNABE download and load


Ignore:
Timestamp:
May 25, 2010 9:44:31 AM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RNABE download and load

    v20 v21  
    2626C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4258 -I Fr_TWBody_Merge.shp Fr_TWBody > Fr_TWBody.sql 
    2727}}} 
    28     * Convert it into utf8  (as the database is posgis), in notepad, open the Fr_RWBody.sql file and convert it to utf8 
     28    * '''Convert it into utf8'''  (as the database is posgis), in notepad, open the Fr_RWBody.sql file and convert it to utf8 
    2929Encodage> Convertir en UTF-8 
    3030 
     
    3232 
    3333 
    34     * Use psql to restore the file while connecting to eda2.0 ... change the port if necessary (cedric : 5433) 
     34    * '''Use psql to restore the file''' while connecting to eda2.0 ... change the port if necessary (cedric : 5433) 
    3535{{{ 
    3636C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f Fr_RWBodyutf8.sql 
     
    4141}}} 
    4242 
    43     * Create schema RNABE et changement de schéma de la table Fr_RWBody (qui est sous public) 
     43    * '''Create schema RNABE'' et changement de schéma de la table Fr_RWBody (qui est sous public) 
    4444{{{ 
    4545--- In sql editor  
     
    5252}}} 
    5353 
    54 == Changement de la projection == 
     54   * '''Change the srid''' 
    5555La projection du RNABE est en fait l'ETRS89 et non pas l'ETRS89-LAEA [[BR]] 
    56 Il faut donc changer le srid 4258 (ETRS89) en 3035 ( ) [[BR]] 
     56Il faut donc changer le srid 4258 (ETRS89) en 3035 (ETRS89-LAEA) [[BR]] 
    5757{{{ 
    58 -- Problème de script ne fonctionne pas 
    5958ALTER TABLE rnabe.fr_rwbody DROP CONSTRAINT enforce_srid_the_geom; 
    6059UPDATE rnabe.fr_rwbody SET the_geom = ST_transform(the_geom, 3035);