Changes between Version 34 and Version 35 of CookBook join ROE_CCM
- Timestamp:
- Mar 23, 2010 9:45:33 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook join ROE_CCM
v34 v35 48 48 If you want you can choose a "XY Tolerance", because some points in the ROE are in France but they are at the limit. 49 49 (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 }}}55 50 56 51 ==== With QGis ==== … … 88 83 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d ccm21_eda -h localhost -U postgres -p 5432 -c "CREATE schema france" 89 84 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d ccm21_eda -h localhost -U postgres -p 5432 -f departement.sql 85 }}} 86 insertion dans la table geometry column 87 {{{ 88 INSERT INTO geometry_columns(f_table_catalog, f_table_schema, f_table_name, f_geometry_column, coord_dimension, srid, "type") 89 SELECT '', 'france', 'departements', 'the_geom', ST_CoordDim(the_geom), ST_SRID(the_geom), GeometryType(the_geom) 90 FROM france.departement LIMIT 1; 90 91 }}} 91 92 mmh so finally I would like a new column saying whether or not the dams are in France [[BR]]