changeset 6658:89f856e24d27 double-precision

Importer scripts: shpimporter needs backend name to play with Oracle.
author Tom Gottfried <tom@intevation.de>
date Thu, 25 Jul 2013 09:30:39 +0200
parents 765944ca6df0
children 5820eb9197c9
files backend/contrib/import_river.sh backend/contrib/run_geo.sh
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/backend/contrib/import_river.sh	Wed Jul 24 18:41:22 2013 +0200
+++ b/backend/contrib/import_river.sh	Thu Jul 25 09:30:39 2013 +0200
@@ -336,7 +336,7 @@
     --directory $RIVER_PATH \
     --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
-    --host $DBHOST \
+    --host $DBHOST/$BACKEND_NAME \
     --user $DBUSER \
     --password $DBPASS \
     --verbose 1 \
--- a/backend/contrib/run_geo.sh	Wed Jul 24 18:41:22 2013 +0200
+++ b/backend/contrib/run_geo.sh	Thu Jul 25 09:30:39 2013 +0200
@@ -6,6 +6,7 @@
 
 # Set this to your target database for Oracle
 HOST=localhost
+BACKEND_NAME="XE"
 USER=flys28
 PASS=flys28
 # Alternatively you can provide a direct connection string:
@@ -51,7 +52,7 @@
     --directory $RIVER_PATH \
     --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
-    --host $HOST \
+    --host $HOST/$BACKEND_NAME \
     --user $USER \
     --password $PASS \
     --verbose $VERBOSE \

http://dive4elements.wald.intevation.org