Changes between Version 34 and Version 35 of CookBook join RHT-BDMAP


Ignore:
Timestamp:
Oct 26, 2011 11:44:29 AM (14 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook join RHT-BDMAP

    v34 v35  
    310310}}} 
    311311 
    312 BDMAP - Projection Laurent 
     312= BDMAP - Projection Laurent = 
    313313{{{ 
    314314d: 
     
    320320---Changement du système de projection  RGF93_Lambert_93 (srid 2154) --> ETRS LAEA (srid 3035) 
    321321alter table bdmap2009.station_geography drop constraint enforce_srid_the_geom; 
    322 update bdmap2009.station_geography set the_geom =ST_Transform(the_geom,3035); 
     322---update bdmap2009.station_geography set the_geom =ST_Transform(the_geom,3035); 
     323update bdmap2009.station_geography set the_geom =ST_Transform(ST_SetSRID(the_geom,2154),3035); 
     324ERREUR:  Operation on two geometries with different SRIDs 
     325CONTEXT:  PL/pgSQL function "geom_update" line 5 at IF 
     326 
     327********** Erreur ********** 
     328 
     329ERREUR: Operation on two geometries with different SRIDs 
     330État SQL :XX000 
     331Contexte : PL/pgSQL function "geom_update" line 5 at IF 
    323332 
    324333alter table bdmap2009.station_geography add CONSTRAINT enforce_dims_the_geom CHECK (ndims(the_geom) = 2);