| 108 | |
| 109 | --Anglian |
| 110 | insert into europe.wso(wso_id) |
| 111 | select distinct on (wso_id) wso_id from ccm21.riversegments r |
| 112 | join (SELECT the_geom |
| 113 | FROM european_wise2008.rbd_f1v3 As f where gid=200) as sub |
| 114 | ON ST_Intersects(sub.the_geom,r.the_geom); |
| 115 | UPDATE europe.wso set area='Anglian' where area IS NULL; |
| 116 | |
| 117 | --Sardinia |
| 118 | insert into europe.wso(wso_id) |
| 119 | select distinct on (wso_id) wso_id from ccm21.riversegments r |
| 120 | join (SELECT the_geom |
| 121 | FROM european_wise2008.rbd_f1v3 As f where gid=85) as sub |
| 122 | ON ST_Intersects(sub.the_geom,r.the_geom); |
| 123 | UPDATE europe.wso set area='Sardinia' where area IS NULL; |
| 124 | |
| 125 | --Swedish ? |
| 126 | insert into europe.wso(wso_id) |
| 127 | select distinct on (wso_id) wso_id from ccm21.riversegments r |
| 128 | join (SELECT the_geom |
| 129 | FROM european_wise2008.rbd_f1v3 As f where gid=85) as sub |
| 130 | ON ST_Intersects(sub.the_geom,r.the_geom); |
| 131 | UPDATE europe.wso set area='Swedish' where area IS NULL; |
| 132 | |
| 133 | --Elbe ? |
| 134 | insert into europe.wso(wso_id) |
| 135 | select distinct on (wso_id) wso_id from ccm21.riversegments r |
| 136 | join (SELECT the_geom |
| 137 | FROM european_wise2008.rbd_f1v3 As f where gid=208) as sub |
| 138 | ON ST_Intersects(sub.the_geom,r.the_geom); |
| 139 | UPDATE europe.wso set area='Elbe' where area IS NULL; |