Changes between Version 58 and Version 59 of CookBook join ROE_CCM
- Timestamp:
- Apr 16, 2010 9:46:24 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook join ROE_CCM
v58 v59 124 124 SELECT ref_id, gid ,CAST(distance(r.the_geom, b.ref_position_etrs89) as decimal(15,1)) as distance ,b.ref_position_etrs89 125 125 FROM geobs.obstacle_referentiel As b 126 INNER JOIN riversegments r ON ST_DWithin(r.the_geom, b.ref_position_etrs89,1000)126 INNER JOIN ccm21.riversegments r ON ST_DWithin(r.the_geom, b.ref_position_etrs89,1000) 127 127 -- WHERE b.goodproj IS TRUE -- Attention c'est faux 128 128 ORDER BY ref_id) AS sub