wiki:Joining dams ROE on CCM

Version 1 (modified by celine, 14 years ago) (diff)

--

back to first page ..

Some dams must be reproject and the gid (or wso1_id) must be changed:

DROP table if exists geobs2010.roe_ccm_500_final_gid;
CREATE TABLE geobs2010.roe_ccm_500_final_gid as (
select distinct on (ref_id) * from geobs2010.roe_ccm_500_final
);
update geobs2010.roe_ccm_500_final_gid SET gid=' ' where ref_id='';