Changes between Version 14 and Version 15 of Meuse_dams


Ignore:
Timestamp:
Jun 5, 2014 3:52:25 PM (11 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Meuse_dams

    v14 v15  
    103103CREATE TABLE belge.obstaclescourt as  
    104104  select  site_num, obst_num, code_ori, sousbassin, basin_inf, categorie, noma, province, symbolisat, dat_m_jour, type_obst, revetement, longueur, larg_diam,  
    105   hauteur, prof_amont, prof_aval, lame_eau, dif_niveau, import_bio, echelle, obs_id, role_obst FROM belge.obstacles; 
    106    
     105  hauteur, prof_amont, prof_aval, lame_eau, dif_niveau_ouvrage, import_bio, echelle, obs_id, role_obst FROM belge.obstacles; 
     106 
     107 
    107108DROP TABLE if exists belge.physical_obstruction CASCADE; 
    108109CREATE TABLE belge.physical_obstruction( 
     
    120121INSERT INTO belge.physical_obstruction (ob_id,ob_no_origin,ob_no_type,ob_no_period,ob_starting_date, ob_ending_date,ob_op_id,ob_dp_id,ot_no_obstruction_type, 
    121122  ot_obstruction_number,ot_no_mortality_type, ot_no_mortality , po_no_obstruction_passability, po_obstruction_height, po_turbine_number, site_num, obst_num, code_ori, sousbassin, basin_inf, categorie, noma, province, symbolisat, dat_m_jour, type_obst, revetement, longueur, larg_diam,  
    122   hauteur, prof_amont, prof_aval, lame_eau, dif_niveau, import_bio, echelle, obs_id, role_obst 
     123  hauteur, prof_amont, prof_aval, lame_eau, dif_niveau_ouvrage, import_bio, echelle, obs_id, role_obst 
    123124  ) 
    124125  SELECT  
     
    148149  when o.symbolisat is null then 208 
    149150  end as po_no_obstruction_passability, 
    150   o.dif_niveau as po_obstruction_height, 
     151  o.dif_niveau_ouvrage as po_obstruction_height, 
    151152  NULL AS po_turbine_number,o.* 
    152   FROM                   
     153  FROM                   
    153154  belge.obstaclescourt o JOIN  belge.ouvragedbeel d ON o.obs_id=d.obs_id; 
    154155