wiki:CookBook join ROE_RHT

Version 9 (modified by celine, 14 years ago) (diff)

--

back to first page..
back to CookBook Eda
back to RHT
see #79

Integrating new ROE_v2 data into RHT

Lambert_Conformal_Conic --> ETRS LAEA srid 3035 with ArcGis

d:
cd D:\CelineJouanin\ROE2011
C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -c -g the_geom -W LATIN1 -I ROE_v2_Project.shp roe_v2 > roe_v2.sql
C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0_RHT -h localhost -U postgres -p 5432 -f roe_v2.sql

create schema roe_v2;
alter table roe_v2 set schema roe_v2;

---Integrating pre_ice_v2.csv
See in ["CookBook export access"] to integrate the database into postgre from ACCESS (it's usefull when you got lots of variables in the table) This allows us to create the table quickly. 
alter table roe_geo_v2 set schema roe_v2;

---Integrating roe_geo_v2.csv
See ["CookBook export access"]
alter table pre_ice_v2 set schema roe_v2;

Integrating ROE data from Hervé into RHT

Changement du système de projection via ArcGis roe_snap50m_rht.shp from Hervé (Lambert II étendu) --> srid 3035 with roe_snap50m_rht_Project.shp

d:
cd D:\CelineJouanin\RHT_Estimkart
C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 3035 -c -g the_geom -W LATIN1 -I roe_snap50m_rht_Project.shp rht_roe > rht_roe.sql 
C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0_RHT -h localhost -U postgres -p 5432 -f rht_roe.sql

alter table rht_roe set schema rht

Problème pas les identifiant roe (id_roe) dans la table

A FAIRE ! mais difficile de s'y retrouver

Transborder dams

FID Shape *id_trhydNATURETOPONYMECANDIDATCOTESITUATIONMERbarrageNomwso_id correspondantUGAid_drain RHT
6297Point100007688Source simple9999frontiere35823Meuse291130MEUSE
493235Point150001278Source simple9999frontiere14923Meuse/MEUSE
494054Point250002088Source simple9999frontiere33123Meuse291130MEUSE
495249Point250003393Source simple9999frontiere59312Moselle291110RHIN
495588Point250003736Source simple9999frontiere58617Sarre291110RHIN
496464Point250004650Embouchure9999frontiere57517Sarre291110RHIN