aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/osm/osm.api.changeset.upload
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-18 13:40:36 +0800
committertypebrook <typebrook@gmail.com>2019-11-18 13:40:36 +0800
commitf22bbf1ed606adb6140f1c8cc0b723cbb476fa82 (patch)
treec3ab884d1b6e0672f1bae3debb54da865e54a052 /scripts/osm/osm.api.changeset.upload
parent99ff14e55a80aaa3090d02cd07381f6d9f8ea5d1 (diff)
update
Diffstat (limited to 'scripts/osm/osm.api.changeset.upload')
-rwxr-xr-xscripts/osm/osm.api.changeset.upload1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/osm/osm.api.changeset.upload b/scripts/osm/osm.api.changeset.upload
index 918a755..96bdff4 100755
--- a/scripts/osm/osm.api.changeset.upload
+++ b/scripts/osm/osm.api.changeset.upload
@@ -2,4 +2,5 @@
2 2
3cat $2 |\ 3cat $2 |\
4sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/" |\ 4sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/" |\
5tee /dev/tty |\
5curl -X POST -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1/upload 6curl -X POST -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1/upload