aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-27 16:11:09 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-27 16:11:09 +1000
commit41de7f13e6d331341443b2d846d6d44d06387d91 (patch)
treec9bddc11c078e629dd6297fd286f0f1b0402260c /bin
parentdd0a8fe143b5c778c17c92496de513ae066dc04f (diff)
document import candidate categories
Diffstat (limited to 'bin')
-rwxr-xr-xbin/upload.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/upload.sh b/bin/upload.sh
index 2971026..caf85d0 100755
--- a/bin/upload.sh
+++ b/bin/upload.sh
@@ -11,7 +11,7 @@ totalFiles=`ls -1 dist/candidates/newAddressWithoutConflicts/*.osm | wc -l`
for f in dist/candidates/newAddressWithoutConflicts/*.osm; do
i=$(($i + 1))
- layerMessage="adding new addresses not found in OSM"
+ categoryMessage="adding new addresses not found in OSM"
d=`dirname "$f"`
b=`basename "$f" .osm`
id=`echo "$b" | cut -d'_' -f1`
@@ -31,7 +31,7 @@ for f in dist/candidates/newAddressWithoutConflicts/*.osm; do
-u 'vicmap_import' \
-p "${OSM_DEV_PASSWORD}" \
-c yes \
- -m "Vicmap Import $layerMessage: $name. See $IMPORT_DOC" \
+ -m "Vicmap Import $categoryMessage: $name. See $IMPORT_DOC" \
-y 'Vicmap Address' \
"$d/$b.osc"
echo "$f" >> uploadLog/uploaded.txt