Changes between Version 40 and Version 41 of OriaEda


Ignore:
Timestamp:
Nov 26, 2010 12:01:04 PM (14 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OriaEda

    v40 v41  
    233233-- capture des obstacles de biskaya 
    234234DROP TABLE IF EXISTS oria.obstacles_biskaia_ccm_500; 
    235 CREATE TABLE oria.obstacles_biskaia_ccm_500 as ( 
     235INSERT into oria.obstacles_ccm_500 as ( 
    236236        SELECT distinct on (COD_Impacto) COD_Impacto , gid, wso1_id, min(distance) as distance, the_geom,height,score,nbdams FROM ( 
    237237               SELECT COD_Impacto, gid , wso1_id, CAST(distance(r.the_geom, s.the_geom) as  decimal(15,1)) as distance,s.the_geom,  
    238                 s.ob_height as height, 
     238                s.Altura as height, 
    239239                s.ob_score_expert As score, 
    240240                1 AS nbdams -- pour jointure ultérieure