Changes between Version 36 and Version 37 of CookBook join RHT-BDMAP


Ignore:
Timestamp:
Oct 26, 2011 4:10:54 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook join RHT-BDMAP

    v36 v37  
    341341 
    342342{{{ 
     343E:\IAV\eda\bdmap\geolocalisation 
     344E: 
     345CD E:\IAV\eda\bdmap\geolocalisation 
     346psql -d eda2.0_RHT -h localhost -U postgres -p 5432 -f station_geography.sql 
     347-- psql erreur la fonction geom_update n'existe pas (ca tu n'avais pas=> je n'ai pas le trigger) 
    343348alter table station_geography set schema bdmap2009; 
    344 ---Some station outside of France 
    345349---Changement du système de projection  RGF93_Lambert_93 (srid 2154) --> ETRS LAEA (srid 3035) 
    346350alter table bdmap2009.station_geography drop constraint enforce_srid_the_geom; 
     
    348352update bdmap2009.station_geography set the_geom =ST_Transform(ST_SetSRID(the_geom,2154),3035);--11379 lignes 
    349353-- pour moi geom_update n'a pas marché, il doit bien s'agir d'un problem de trigger, fait drop trigger 
    350  
    351354alter table bdmap2009.station_geography add  CONSTRAINT enforce_srid_the_geom CHECK (srid(the_geom) = 3035); 
    352355CREATE INDEX index_station_geography ON bdmap2009.station_geography 
    353356  USING btree ( id_bdcarthage_troncon); 
    354  
    355 select * from bdmap2009.station_geography where a_conserver = true; --9323 
    356 }}} 
    357  
    358  
     357select * from bdmap2009.station_geography where a_conserver = true 
     358}}} 
     359 
     360