Changes between Version 9 and Version 10 of Noeuds mer RHT


Ignore:
Timestamp:
Oct 20, 2011 8:45:10 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Noeuds mer RHT

    v9 v10  
    11== Noeuds mer RHT == 
     2=== Noeuds mer === 
     3{{{ 
     4#!sql 
     5select * from rht.rht r left join rht.topologie_rht_sept2011 t on r.id_drain=t.id_draintopo where id_draintopo is null;    --- 1 lines 
    26 
    3 Céline je ne retrouve pas tes scripts pour les noeuds mer... Ce serait bien de les coller ici. 
     7drop table if exists rht.rht_topology; 
     8CREATE table rht.rht_topology AS select * from rht.rht r inner join rht.topologie_rht_sept2011 t on t.id_draintopo=r.id_drain; 
     9CREATE INDEX indextopo ON rht.rht_topology USING btree (id_draintopo); 
     10CREATE INDEX indextopogeom ON rht.rht_topology 
     11  USING GIST ( the_geom GIST_GEOMETRY_OPS ); 
     12 
     13COMMENT ON table rht.rht_topology IS 'Joining between rht and topologie_rht_sept2011 to see it on Qgis'; 
     14 
     15drop table if exists rht.noeudmer; 
     16create table rht.noeudmer as select * from rht.rht_topology where tnode not in (select fnode from rht.topologie_rht_sept2011); 
     17CREATE INDEX indexmer ON rht.noeudmer USING btree (id_drain); 
     18CREATE INDEX indexmergeom ON rht.noeudmer USING GIST ( the_geom GIST_GEOMETRY_OPS ); 
     19COMMENT ON table rht.noeudmer IS 'Table test to know the downstream node from the sea'; 
     20 
     21select count(*) from rht.noeudmer; --- 1114 lines 
     22}}} 
    423 
    524Intégration des noeuds mer dans la table rht_topology.