Changes between Initial Version and Version 1 of Noeud - parcours RHT


Ignore:
Timestamp:
Nov 30, 2011 5:04:46 PM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Noeud - parcours RHT

    v1 v1  
     1back to first page[..][[BR]] 
     2back to ["RHT"][[BR]] 
     3 
     4Les données ont été préalablement projetées en 3035 sous ArcGis[[BR]] 
     5Intégration de la table avec id_drain, fnode, tnode 
     6{{{ 
     7D: 
     8cd D:\CelineJouanin\RHT_Estimkart\RHT_October_newversion 
     9C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -c -g the_geom -W LATIN1 -I rhtvs2_3035.shp rhtvs2 > rhtvs2.sql  
     10C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0_RHT -h localhost -U postgres -p 5432 -f rhtvs2.sql  
     11 
     12ALTER TABLE rhtvs2 SET SCHEMA rht; 
     13 
     14-- Constraints 
     15ALTER TABLE rht.rhtvs2 DROP CONSTRAINT rht_pkey; 
     16ALTER TABLE rht.rhtvs2 ADD CONSTRAINT  pk_id_drain PRIMARY KEY (id_drain); 
     17 
     18-- Create an index on rht 
     19CREATE INDEX indexrhtvs2 ON rht.rhtvs2 
     20  USING GIST ( the_geom GIST_GEOMETRY_OPS ); 
     21 
     22DROP INDEX IF EXISTS rht.indexrhtvs2; 
     23CREATE INDEX indexrht2 
     24ON rht.rhtvs2 
     25USING btree (id_drain); 
     26}}} 
     27 
     28 
     29