| 1 | back to first page[..][[BR]] |
| 2 | back to ["WRBD"][[BR]] |
| 3 | |
| 4 | |
| 5 | |
| 6 | {{{ |
| 7 | d: |
| 8 | cd D:\CelineJouanin\POSEProject\Ireland |
| 9 | cd C:\eda\ireland |
| 10 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -I -W LATIN1 Outline_of_ireland.shp Outline_of_ireland > Outline_of_ireland.sql |
| 11 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 4326 -W LATIN1 -I River_basin_districts.shp River_basin_districts > River_basin_districts.sql |
| 12 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I Irish_catchments.shp Irish_catchments > Irish_catchments.sql |
| 13 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I Irish_lakes.shp Irish_lakes > Irish_lakes.sql |
| 14 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I Irish_water_bodies.shp Irish_water_bodies > Irish_water_bodies.sql |
| 15 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I WFD_LakeSegment_WE.shp WFD_LakeSegment_WE > WFD_LakeSegment_WE.sql |
| 16 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I WFD_LakeWaterBodies_WE.shp WFD_LakeWaterBodies_WE > WFD_LakeWaterBodies_WE.sql |
| 17 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I WFD_RiverSegment_WE.shp WFD_RiverSegment_WE > WFD_RiverSegment_WE.sql |
| 18 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I WFD_RiverSubBasins_WE.shp WFD_RiverSubBasins_WE > WFD_RiverSubBasins_WE.sql |
| 19 | REM ne marche pas |
| 20 | REM C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -s 29903 -W LATIN1 -I WFD_RiverWaterBodies_WE.shp WFD_RiverWaterBodies_WE > WFD_RiverWaterBodies_WE.sql |
| 21 | |
| 22 | -- Cédric |
| 23 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f Outline_of_ireland.sql |
| 24 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table outline_of_ireland set schema wrbd" |
| 25 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.outline_of_ireland ; alter table wrbd.outline_of_ireland DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.outline_of_ireland set the_geom=ST_Transform(the_geom,3035); alter table wrbd.outline_of_ireland add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 26 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f Outline_of_ireland.sql |
| 27 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table outline_of_ireland set schema wrbd" |
| 28 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.outline_of_ireland ; alter table wrbd.outline_of_ireland DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.outline_of_ireland set the_geom=ST_Transform(the_geom,3035); alter table wrbd.outline_of_ireland add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 29 | |
| 30 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f River_basin_districts.sql |
| 31 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table river_basin_districts set schema wrbd" |
| 32 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.river_basin_districts ; alter table wrbd.river_basin_districts DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.river_basin_districts set the_geom=ST_Transform(the_geom,3035); alter table wrbd.river_basin_districts add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 33 | |
| 34 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f Irish_catchments.sql |
| 35 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table irish_catchments set schema wrbd" |
| 36 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_catchments ; alter table wrbd.irish_catchments DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_catchments set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_catchments add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 37 | |
| 38 | |
| 39 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f Irish_lakes.sql |
| 40 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table irish_lakes set schema wrbd" |
| 41 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_lakes ; alter table wrbd.irish_lakes DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_lakes set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_lakes add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 42 | |
| 43 | |
| 44 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f Irish_water_bodies.sql |
| 45 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table irish_water_bodies set schema wrbd" |
| 46 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_water_bodies ; alter table wrbd.irish_water_bodies DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_water_bodies set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_water_bodies add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 47 | |
| 48 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f WFD_LakeSegment_WE.sql |
| 49 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table wfd_lakesegment_we set schema wrbd" |
| 50 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_lakesegment_we ; alter table wrbd.wfd_lakesegment_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_lakesegment_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_lakesegment_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 51 | |
| 52 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f WFD_RiverSegment_WE.sql |
| 53 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table wfd_riversegment_we set schema wrbd" |
| 54 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_riversegment_we ; alter table wrbd.wfd_riversegment_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_riversegment_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_riversegment_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 55 | |
| 56 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -f WFD_RiverSubBasins_WE.sql |
| 57 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "alter table wfd_riversubbasins_we set schema wrbd" |
| 58 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5433 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_riversubbasins_we ; alter table wrbd.wfd_riversubbasins_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_riversubbasins_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_riversubbasins_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 59 | |
| 60 | -- Céline |
| 61 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f Outline_of_ireland.sql |
| 62 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table outline_of_ireland set schema wrbd" |
| 63 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.outline_of_ireland ; alter table wrbd.outline_of_ireland DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.outline_of_ireland set the_geom=ST_Transform(the_geom,3035); alter table wrbd.outline_of_ireland add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 64 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f Outline_of_ireland.sql |
| 65 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table outline_of_ireland set schema wrbd" |
| 66 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.outline_of_ireland ; alter table wrbd.outline_of_ireland DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.outline_of_ireland set the_geom=ST_Transform(the_geom,3035); alter table wrbd.outline_of_ireland add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 67 | |
| 68 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f River_basin_districts.sql |
| 69 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table river_basin_districts set schema wrbd" |
| 70 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.river_basin_districts ; alter table wrbd.river_basin_districts DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.river_basin_districts set the_geom=ST_Transform(the_geom,3035); alter table wrbd.river_basin_districts add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 71 | |
| 72 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f Irish_catchments.sql |
| 73 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table irish_catchments set schema wrbd" |
| 74 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_catchments ; alter table wrbd.irish_catchments DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_catchments set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_catchments add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 75 | |
| 76 | |
| 77 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f Irish_lakes.sql |
| 78 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table irish_lakes set schema wrbd" |
| 79 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_lakes ; alter table wrbd.irish_lakes DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_lakes set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_lakes add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 80 | |
| 81 | |
| 82 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f Irish_water_bodies.sql |
| 83 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table irish_water_bodies set schema wrbd" |
| 84 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.irish_water_bodies ; alter table wrbd.irish_water_bodies DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.irish_water_bodies set the_geom=ST_Transform(the_geom,3035); alter table wrbd.irish_water_bodies add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 85 | |
| 86 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f WFD_LakeSegment_WE.sql |
| 87 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table wfd_lakesegment_we set schema wrbd" |
| 88 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_lakesegment_we ; alter table wrbd.wfd_lakesegment_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_lakesegment_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_lakesegment_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 89 | |
| 90 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f WFD_RiverSegment_WE.sql |
| 91 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table wfd_riversegment_we set schema wrbd" |
| 92 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_riversegment_we ; alter table wrbd.wfd_riversegment_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_riversegment_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_riversegment_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 93 | |
| 94 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -f WFD_RiverSubBasins_WE.sql |
| 95 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "alter table wfd_riversubbasins_we set schema wrbd" |
| 96 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d eda2.0 -p 5432 -h localhost -U postgres -c "SELECT ST_SRID(the_geom) from wrbd.wfd_riversubbasins_we ; alter table wrbd.wfd_riversubbasins_we DROP CONSTRAINT enforce_srid_the_geom ;update wrbd.wfd_riversubbasins_we set the_geom=ST_Transform(the_geom,3035); alter table wrbd.wfd_riversubbasins_we add CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035);" |
| 97 | }}} |