Version 24 (modified by celine, 14 years ago) (diff) |
---|
back to first page..
back to Gis Structures
Go to Estimkart?
Go to SYRAH?
RHT Réseau Hydrographique Théorique
http://www.cemagref.fr/le-cemagref/lorganisation/les-centres/lyon/ur-maly/laboratoire-dynamiques-indicateurs-et-modeles-en-ecohydrologie/logiciels/RHT
Description RHT
Integrating data into postgre (rht.shp and Attributs_RHT_fev_2011.txt)
Download and load RHT
Download and load RHT topology
select count(*) from rht.rht ---114601 lignes select count(*) from rht.attributs_rht_fev_2011 ---114600 lignes --nb de lignes différent !! A voir
Create a view
ALTER TABLE rht.attributs_rht_fev_2011 RENAME COLUMN id_drain TO id_drainattr; CREATE VIEW rht.rht_attribut AS SELECT * from rht.rht r left join rht.attributs_rht_fev_2011 a on r.id_drain=a.id_drainattr select * from rht.rht_attribut where id_drainattr is null --un id_drain sans attribut (correspond au lac léman)