| 1 | back to first page [..][[BR]] |
| 2 | back to ["Corine Land Cover"][[BR]] |
| 3 | back to ["CookBook Eda"][[BR]] |
| 4 | |
| 5 | = Download and Load the CLC (Corine Land Cover) layer = |
| 6 | |
| 7 | {{{ |
| 8 | REM se placer dans le répertoire ou sont les données |
| 9 | D: |
| 10 | cd D:\Celine Jouanin\CLC\CLC06_FR_L2E_SHP |
| 11 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -c -g the_geom -I -W UTF-8 -N skip CLC06_FR_L2E.shp CLC06_FR_L2E > CLC06_FR_L2E.sql |
| 12 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f CLC06_FR_L2E.sql |
| 13 | }}} |
| 14 | |
| 15 | {{{ |
| 16 | --- In sql editor |
| 17 | CREATE SCHEMA CLC; |
| 18 | ALTER TABLE clc06_fr_l2e SET SCHEMA CLC; |
| 19 | select SRID (the_geom) FROM CLC.clc06_fr_l2e; |
| 20 | }}} |