Changes between Version 30 and Version 31 of Joining dams ROE on CCM
- Timestamp:
- Mar 23, 2011 2:35:21 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Joining dams ROE on CCM
v30 v31 131 131 Vérification de certain barrages sélectionnés pour savoir s'ils ont été projetés sur le bon cours d'eau 132 132 Le seuil de distance est à modifier (10-30-50m plus ?) 133 Tous les ref_id avec une distance <=15 ont été vérifiés 134 133 135 {{{ 134 136 SELECT s.ref_id, s.gid ,s.dist_sea_ccm, s.id_trhyd, CAST(distance(r.the_geom, s.the_geom) as decimal(15,1)) as distance, s.the_geom 135 137 FROM geobs2010.roe_ccm_500_final_gid as s 136 138 inner join ccm21.rivernodes_france r on ST_DWithin(r.the_geom, s.the_geom,50) order by s.dist_sea_ccm, distance 139 140 SELECT s.ref_id, s.gid ,s.dist_sea_ccm, s.id_trhyd, CAST(distance(r.the_geom, s.the_geom) as decimal(15,1)) as distance, s.the_geom 141 FROM geobs2010.roe_ccm_500_final_gid as s inner join ccm21.rivernodes_france r on ST_DWithin(r.the_geom, s.the_geom,50) 142 where CAST(distance(r.the_geom, s.the_geom) as decimal(15,1))>15 order by s.dist_sea_ccm, distance 137 143 }}}