Changes between Version 30 and Version 31 of Joining dams ROE on CCM


Ignore:
Timestamp:
Mar 23, 2011 2:35:21 PM (14 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Joining dams ROE on CCM

    v30 v31  
    131131Vérification de certain barrages sélectionnés pour savoir s'ils ont été projetés sur le bon cours d'eau 
    132132Le seuil de distance est à modifier (10-30-50m plus ?) 
     133Tous les ref_id avec une distance <=15 ont été vérifiés 
     134 
    133135{{{ 
    134136SELECT 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  
    135137FROM geobs2010.roe_ccm_500_final_gid as s  
    136138inner join ccm21.rivernodes_france r on ST_DWithin(r.the_geom, s.the_geom,50) order by s.dist_sea_ccm, distance 
     139 
     140SELECT 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  
     141FROM geobs2010.roe_ccm_500_final_gid as s inner join ccm21.rivernodes_france r on ST_DWithin(r.the_geom, s.the_geom,50)  
     142where CAST(distance(r.the_geom, s.the_geom) as  decimal(15,1))>15 order by s.dist_sea_ccm, distance 
    137143}}}