aboutsummaryrefslogtreecommitdiff
path: root/bin/upload.sh
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-07-04 20:51:07 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-07-04 20:51:07 +1000
commitf13c60efaa68862872a7a927537924cf590f1e7a (patch)
tree173ff4275f403534d2dc965af178a9cc2dedbc56 /bin/upload.sh
parentdeffe3e80b786f5782c6915e3adabf855bd54ac4 (diff)
candidates and upload tweaks
Diffstat (limited to 'bin/upload.sh')
-rwxr-xr-xbin/upload.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/upload.sh b/bin/upload.sh
index caf85d0..1144254 100755
--- a/bin/upload.sh
+++ b/bin/upload.sh
@@ -7,11 +7,11 @@ mkdir -p uploadLog
IMPORT_DOC="https://wiki.openstreetmap.org/wiki/Imports/Vicmap_Address"
i=0
-totalFiles=`ls -1 dist/candidates/newAddressWithoutConflicts/*.osm | wc -l`
-for f in dist/candidates/newAddressWithoutConflicts/*.osm; do
+totalFiles=`ls -1 dist/candidates/newAddressesInBlocksWithoutAnyExisting/*.osm | wc -l`
+for f in dist/candidates/newAddressesInBlocksWithoutAnyExisting/*.osm; do
i=$(($i + 1))
-
- categoryMessage="adding new addresses not found in OSM"
+ categoryMessage="New addresses in blocks without any existing addresses"
+ stage="Stage 3"
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 $categoryMessage: $name. See $IMPORT_DOC" \
+ -m "Vicmap Address Import - $stage - $categoryMessage: $name. See $IMPORT_DOC" \
-y 'Vicmap Address' \
"$d/$b.osc"
echo "$f" >> uploadLog/uploaded.txt