Changes between Version 7 and Version 8 of European WISE layers Download and load


Ignore:
Timestamp:
Jul 26, 2010 4:22:21 PM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • European WISE layers Download and load

    v7 v8  
    77d: 
    88cd D:\CelineJouanin\European WISE\wise_coastal_waters_shp 
    9 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 -I Coastal_waters.shp costal_waters > costal_waters.sql  
     9C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I Coastal_waters.shp costal_waters > costal_waters.sql 
    1010cd D:\CelineJouanin\European WISE\wise_rbds_f1v3_shp 
    11 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 -I RBD_F1v3.shp RDB_F1v3 > RBD_F1v3.sql 
     11C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I RBD_F1v3.shp rbd_f1v3 > rbd_f1v3.sql 
    1212cd D:\CelineJouanin\European WISE\wise_transitional_waters_shp 
    13 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 -I Transitional_waters.shp transitional_waters > transitional_waters.sql 
     13C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I Transitional_waters.shp transitional_waters > transitional_waters.sql 
    1414}}} 
    1515 
    16   * We have to convert it into utf8 (as the database is posgis), in notepad, open the uga.sql file and convert it to utf8 OR[[BR]] 
    17   * using -W LATIN1, just change the first line to SET CLIENT_ENCODING TO LATIN1; 
     16  * We have to convert it into utf8 (as the database is posgis), in notepad, open the uga.sql file and convert it to utf8[[BR]] 
    1817{{{ 
    1918Encodage>convertir en utf8 
     
    2625cd D:\CelineJouanin\European WISE 
    2726C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f costal_watersutf8.sql  
    28 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f RBD_F1v3utf8.sql  
     27C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f rbd_f1v3utf8.sql  
    2928C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f transitional_watersutf8.sql 
    3029 
    3130--Cédric 
    32 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f costal_waters.sql  
    33 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f RBD_F1v3.sql  
    34 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f transitional_waters.sql 
     31C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f costal_watersutf8.sql  
     32C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f RBD_F1v3utf8.sql  
     33C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f transitional_watersutf8.sql 
    3534}}} 
    3635 
     
    3938--- In sql editor  
    4039CREATE SCHEMA european_wise2008; 
    41 ALTER TABLE costal_waters SET SCHEMA european_wise; 
    42 ALTER TABLE RBD_F1v3 SET SCHEMA european_wise; 
    43 ALTER TABLE transitional_waters SET SCHEMA european_wise; 
     40ALTER TABLE costal_waters SET SCHEMA european_wise2008; 
     41ALTER TABLE rbd_f1v3 SET SCHEMA european_wise2008; 
     42ALTER TABLE transitional_waters SET SCHEMA european_wise2008; 
    4443}}} 
    4544