Changes between Version 7 and Version 8 of Cookbook CCM21_Europe


Ignore:
Timestamp:
Nov 24, 2010 4:39:22 PM (14 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Cookbook CCM21_Europe

    v7 v8  
    8585}}} 
    8686 
     87 
    8788{{{ 
    8889---Spain-Atl 
     
    9394UPDATE europe.wso set area='Spain_Atl' where area IS NULL; 
    9495 
    95 ---Irl_Atl 
    96 insert into europe.wso(wso_id)  
    97 (select wso_id from europe.wso where area='Ireland' 
    98 intersect (select wso_id from ccm21.seaoutlets where area_cd='A1'));  
    99 UPDATE europe.wso set area='Irl_Atl' where area IS NULL; 
     96--WRB 
     97    insert into europe.wso(wso_id)  
     98    select distinct on (wso_id)  wso_id from ccm21.riversegments r 
     99    join (SELECT the_geom  
     100        FROM european_wise2008.rbd_f1v3 As f where gid=39) as sub 
     101    ON ST_Intersects(sub.the_geom,r.the_geom); 
     102    UPDATE europe.wso set area='Western' where area IS NULL; 
    100103}}} 
    101  
    102104 
    103105{{{