| 1 | back to first page[..][[BR]] |
| 2 | back to ["RHT"][[BR]] |
| 3 | |
| 4 | = RHE Réseau Hydrographique Etendu = |
| 5 | Lambert II |
| 6 | {{{ |
| 7 | d: |
| 8 | cd D:\CelineJouanin\RHT_Estimkart\rhe |
| 9 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 27582 -c -g the_geom -W LATIN1 -I Rhe.shp RHE > RHE.sql |
| 10 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0_RHT -h localhost -U postgres -p 5432 -f RHE.sql |
| 11 | }}} |
| 12 | |
| 13 | {{{ |
| 14 | Alter table rhe set schema rht; |
| 15 | ALTER TABLE rht.rhe DROP CONSTRAINT enforce_srid_the_geom; |
| 16 | UPDATE rht.rhe SET the_geom = ST_transform(the_geom, 3035); |
| 17 | ALTER TABLE rht.rhe ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); |
| 18 | }}} |