Changes between Version 13 and Version 14 of CLC download and load


Ignore:
Timestamp:
May 27, 2010 2:01:57 PM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CLC download and load

    v13 v14  
    4747C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -a -g the_geom clc00_v2_code_222.shp clc00_v2_europe> clc00_v2_europe_222.sql 
    4848C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -a -g the_geom clc00_v2_code_223.shp clc00_v2_europe> clc00_v2_europe_223.sql 
    49  
    5049C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -a -g the_geom clc00_v2_code_231.shp clc00_v2_europe> clc00_v2_europe_231.sql 
    5150 
     
    149148 
    150149}}} 
     150["psql pour Céline"] 
    151151 
     152   * Create the schema CLC 
    152153{{{ 
    153154#!sql 
     
    160161   * Change the srid 
    161162{{{ 
    162 ALTER TABLE clc.clc06_fr_l2e DROP CONSTRAINT enforce_srid_the_geom; 
    163 UPDATE clc.clc06_fr_l2e SET the_geom = ST_transform(the_geom, 3035);  
    164 ALTER TABLE clc.clc06_fr_l2e ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); 
     163ALTER TABLE CLC.clc00_v2_europe DROP CONSTRAINT enforce_srid_the_geom; 
     164UPDATE CLC.clc00_v2_europe SET the_geom = ST_transform(the_geom, 3035);  
     165ALTER TABLE CLC.clc00_v2_europe ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); 
    165166}}}