Changes between Initial Version and Version 1 of Limites administratives Europe


Ignore:
Timestamp:
Jun 3, 2010 5:35:49 PM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Limites administratives Europe

    v1 v1  
     1back to first page [..] 
     2 
     3= Download and load the data = 
     4 
     5 
     6Projection : WGS84  (pas la projection ETRS1989-LAEA) --> srid=4326 
     7{{{ 
     8d: 
     9cd D:\Celine Jouanin\Limites administratives Europe 
     10C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -I european_countries_WGS84.shp limiteeurope > limiteeurope.sql 
     11}}} 
     12 
     13{{{ 
     14C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -h localhost -U postgres -p 5432 -f limiteeurope.sql  
     15}}} 
     16 
     17    * Create schema europe et changement de schéma de la table limiteeurope (qui est sous public) 
     18{{{ 
     19--- In sql editor  
     20CREATE SCHEMA europe; 
     21ALTER TABLE limiteeurope SET SCHEMA europe; 
     22}}} 
     23 
     24    * Changement du type de projection : WGS84 (srid 4326) --> ETRS1989-LAEA (srid 3035) 
     25{{{ 
     26ALTER TABLE europe.limiteeurope DROP CONSTRAINT enforce_srid_the_geom; 
     27UPDATE europe.limiteeurope SET the_geom = ST_transform(the_geom, 3035);  
     28ALTER TABLE europe.limiteeurope ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); 
     29}}}