[Dive4elements-commits] [PATCH 03 of 15] Add HWS Lines parameters and ogr_connection example

Wald Commits scm-commit at wald.intevation.org
Mon Jan 28 12:27:30 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1359106487 -3600
# Node ID 2b371e42a9af5551470b4b1d9111d2e3df733b81
# Parent  a563e9f58f93f67402a4a45e1af5ff3ac3f9f1de
Add HWS Lines parameters and ogr_connection example

diff -r a563e9f58f93 -r 2b371e42a9af flys-backend/contrib/run_geo.sh
--- 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


More information about the Dive4elements-commits mailing list