Changes between Version 4 and Version 5 of Ecological regions


Ignore:
Timestamp:
Jul 8, 2010 4:35:13 PM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ecological regions

    v4 v5  
    44Digital map of European ecological regions : http://www.eea.europa.eu/data-and-maps/data/digital-map-of-european-ecological-regions 
    55 
    6 Projection in Lambert II ? --> ETRS LAEA 
    7 #A voir 
     6Projection in Lambert Azimuthal Equal Area (LAEA) srid=2163 --> transformed into ETRS LAEA srid=3035[[BR]] 
     7 
    88{{{ 
    99D: 
    1010CD D:\Celine Jouanin\Ecological regions 
    11 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 dmeereea4074i_arc dmeereea4074i_arc > ecologicalregion_arc.sql 
    12 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 dmeereea4074i_label dmeereea4074i_label > ecologicalregion_arc.sql 
    13 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 dmeereea4074i_polygon dmeereea4074i_polygon > ecologicalregion_arc.sql 
    14 C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -W LATIN1 dmeereea4074i_tic dmeereea4074i_tic > ecologicalregion_arc.sql 
     11C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 2163 -W LATIN1 dmeereea4074i_arc dmeereea4074i_arc > ecologicalregion_arc.sql 
     12C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 2163 -W LATIN1 dmeereea4074i_label dmeereea4074i_label > ecologicalregion_label.sql 
     13C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 2163 -W LATIN1 dmeereea4074i_polygon dmeereea4074i_polygon > ecologicalregion_polygon.sql 
     14C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 2163 -W LATIN1 dmeereea4074i_tic dmeereea4074i_tic > ecologicalregion_tic.sql 
     15}}} 
     16 
     17{{{ 
     18--Céline 
     19C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f ecologicalregion_arc.sql 
     20C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f ecologicalregion_label.sql 
     21C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f ecologicalregion_polygon.sql 
     22C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f ecologicalregion_tic.sql 
     23--Cédric 
     24C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f ecologicalregion_arc.sql 
     25C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f ecologicalregion_label.sql 
     26C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f ecologicalregion_polygon.sql 
     27C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5433 -f ecologicalregion_tic.sql 
     28}}} 
     29 
     30    * Create schema ecologicalregion et changement de schéma des tables (qui sont sous public) 
     31{{{ 
     32--- In sql editor  
     33CREATE SCHEMA ecologicalregion; 
     34ALTER TABLE uga SET SCHEMA ecologicalregion; 
    1535 
    1636}}} 
     37 
     38    * Changement du type de projection : RGF93_Lambert_93 (srid 2154) --> ETRS1989-LAEA (srid 3035) 
     39{{{ 
     40ALTER TABLE uga2010.uga DROP CONSTRAINT enforce_srid_the_geom; 
     41UPDATE uga2010.uga SET the_geom = ST_transform(the_geom, 3035);  
     42ALTER TABLE uga2010.uga ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); 
     43}}}  
     44 
     45