Changes between Version 36 and Version 37 of CookBook join RHT-BDMAP
- Timestamp:
- Oct 26, 2011 4:10:54 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook join RHT-BDMAP
v36 v37 341 341 342 342 {{{ 343 E:\IAV\eda\bdmap\geolocalisation 344 E: 345 CD E:\IAV\eda\bdmap\geolocalisation 346 psql -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) 343 348 alter table station_geography set schema bdmap2009; 344 ---Some station outside of France345 349 ---Changement du système de projection RGF93_Lambert_93 (srid 2154) --> ETRS LAEA (srid 3035) 346 350 alter table bdmap2009.station_geography drop constraint enforce_srid_the_geom; … … 348 352 update bdmap2009.station_geography set the_geom =ST_Transform(ST_SetSRID(the_geom,2154),3035);--11379 lignes 349 353 -- pour moi geom_update n'a pas marché, il doit bien s'agir d'un problem de trigger, fait drop trigger 350 351 354 alter table bdmap2009.station_geography add CONSTRAINT enforce_srid_the_geom CHECK (srid(the_geom) = 3035); 352 355 CREATE INDEX index_station_geography ON bdmap2009.station_geography 353 356 USING btree ( id_bdcarthage_troncon); 354 355 select * from bdmap2009.station_geography where a_conserver = true; --9323 356 }}} 357 358 357 select * from bdmap2009.station_geography where a_conserver = true 358 }}} 359 360