Changes between Version 34 and Version 35 of CookBook join ROE_CCM


Ignore:
Timestamp:
Mar 23, 2010 9:45:33 AM (15 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook join ROE_CCM

    v34 v35  
    4848If you want you can choose a "XY Tolerance", because some points in the ROE are in France but they are at the limit. 
    4949(maybe 300meters?).[[BR]] 
    50 {{{ 
    51 INSERT INTO geometry_columns(f_table_catalog, f_table_schema, f_table_name, f_geometry_column, coord_dimension, srid, "type") 
    52 SELECT '', 'france', 'departements', 'the_geom', ST_CoordDim(the_geom), ST_SRID(the_geom), GeometryType(the_geom) 
    53 FROM france.departement LIMIT 1; 
    54 }}} 
    5550 
    5651==== With QGis ==== 
     
    8883C:\"Program Files"\PostgreSQL\8.4\bin\psql -d ccm21_eda -h localhost -U postgres -p 5432 -c "CREATE schema france" 
    8984C:\"Program Files"\PostgreSQL\8.4\bin\psql -d ccm21_eda -h localhost -U postgres -p 5432 -f departement.sql 
     85}}} 
     86insertion dans la table geometry column 
     87{{{ 
     88INSERT INTO geometry_columns(f_table_catalog, f_table_schema, f_table_name, f_geometry_column, coord_dimension, srid, "type") 
     89SELECT '', 'france', 'departements', 'the_geom', ST_CoordDim(the_geom), ST_SRID(the_geom), GeometryType(the_geom) 
     90FROM france.departement LIMIT 1; 
    9091}}} 
    9192mmh so finally I would like a new column saying whether or not the dams are in France [[BR]]