Version 14 (modified by celine, 14 years ago) (diff) |
---|
back to first page..
back to RHT - Download and load RHT
Go to CookBook join RHT-BDMAP
NTF_France_II_degrees / NTF Lambert zone II (srid 27572) --> ETRS1989-LAEA (srid 3035)
Integrating topology (rht_vs2_export_cjouanin_sept11.csv)
drop table if exists rht.topologie_rht_sept2011; CREATE TABLE rht.topologie_rht_sept2011 ( ID_DRAIN integer, Xcdg numeric, Ycdg numeric, Xstart numeric, Ystart numeric, Lg numeric, Gridid integer, Fnode integer, Tnode integer, Long numeric ); copy rht.topologie_rht_sept2011 from 'D:/CelineJouanin/RHT_Estimkart/rht_vs2_export_cjouanin_sept11.csv' with csv delimiter as ';' header; alter table rht.topologie_rht_sept2011 add constraint pk_id_drain_topo primary key (id_drain); set client_encoding to 'latin1';
id_drain 30000 sans topologie
Create a view rht_topology
Alter table rht.topologie_rht_sept2011 rename column Length to length; ALTER TABLE rht.topologie_rht_sept2011 RENAME COLUMN id_drain TO id_draintopo;