Changes between Version 7 and Version 8 of European WISE layers Download and load
- Timestamp:
- Jul 26, 2010 4:22:21 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
European WISE layers Download and load
v7 v8 7 7 d: 8 8 cd 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.sql9 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I Coastal_waters.shp costal_waters > costal_waters.sql 10 10 cd 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.sql11 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I RBD_F1v3.shp rbd_f1v3 > rbd_f1v3.sql 12 12 cd 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.sql13 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -I Transitional_waters.shp transitional_waters > transitional_waters.sql 14 14 }}} 15 15 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]] 18 17 {{{ 19 18 Encodage>convertir en utf8 … … 26 25 cd D:\CelineJouanin\European WISE 27 26 C:\"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.sql27 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f rbd_f1v3utf8.sql 29 28 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f transitional_watersutf8.sql 30 29 31 30 --Cédric 32 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 543 3 -f costal_waters.sql33 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 543 3 -f RBD_F1v3.sql34 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 543 3 -f transitional_waters.sql31 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f costal_watersutf8.sql 32 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f RBD_F1v3utf8.sql 33 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f transitional_watersutf8.sql 35 34 }}} 36 35 … … 39 38 --- In sql editor 40 39 CREATE 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 ;40 ALTER TABLE costal_waters SET SCHEMA european_wise2008; 41 ALTER TABLE rbd_f1v3 SET SCHEMA european_wise2008; 42 ALTER TABLE transitional_waters SET SCHEMA european_wise2008; 44 43 }}} 45 44