Mercurial > dive4elements > river
diff flys-backend/contrib/run_geo.sh @ 4873:2b371e42a9af
Add HWS Lines parameters and ogr_connection example
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 25 Jan 2013 10:34:47 +0100 |
parents | 4298ef9bd4a6 |
children | fc7ebf104779 |
line wrap: on
line diff
--- a/flys-backend/contrib/run_geo.sh Wed Jan 23 15:30:09 2013 +0100 +++ b/flys-backend/contrib/run_geo.sh Fri Jan 25 10:34:47 2013 +0100 @@ -4,9 +4,13 @@ RIVER_PATH="/vol1/projects/Geospatial/flys-3.0/testdaten/Gewaesser/Saar" RIVER_ID=1 TARGET_SRS=31467 + +# Set this to your target database for Oracle HOST=localhost USER=flys28 PASS=flys28 +# Alternatively you can provide a direct connection string: +# OGR_CONNECTION="PG:dbname=flys host=localhost port=5432 user=flys password=flys" # Optional VERBOSE=1 @@ -18,7 +22,8 @@ SKIP_BUILDINGS=0 SKIP_FLOODPLAINS=0 SKIP_HYDR_BOUNDARIES=0 -SKIP_HWS=0 +SKIP_HWS_LINES=0 +SKIP_HWS_POINTS=0 SKIP_GAUGE_LOCATION=0 SKIP_CATCHMENTS=0 SKIP_UESG=0 @@ -31,6 +36,7 @@ --directory $RIVER_PATH \ --river_id $RIVER_ID \ --target_srs $TARGET_SRS \ + --ogr_connection "$OGR_CONNECTION" \ --host $HOST \ --user $USER \ --password $PASS \ @@ -43,8 +49,8 @@ --skip_buildings $SKIP_BUILDINGS \ --skip_floodplains $SKIP_FLOODPLAINS \ --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \ - --skip_hws $SKIP_HWS \ --skip_gauge_locations $SKIP_GAUGE_LOCATION \ --skip_catchments $SKIP_CATCHMENTS \ - --skip_uesgs $SKIP_UESG - + --skip_uesgs $SKIP_UESG \ + --skip_hws_lines $SKIP_HWS_LINES \ + --skip_hws_points $SKIP_HWS_POINTS