diff options
author | typebrook <typebrook@gmail.com> | 2019-11-18 13:40:36 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-11-18 13:40:36 +0800 |
commit | f22bbf1ed606adb6140f1c8cc0b723cbb476fa82 (patch) | |
tree | c3ab884d1b6e0672f1bae3debb54da865e54a052 /scripts/osm/osm.api.changeset.upload | |
parent | 99ff14e55a80aaa3090d02cd07381f6d9f8ea5d1 (diff) |
update
Diffstat (limited to 'scripts/osm/osm.api.changeset.upload')
-rwxr-xr-x | scripts/osm/osm.api.changeset.upload | 1 |
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 | ||
3 | cat $2 |\ | 3 | cat $2 |\ |
4 | sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/" |\ | 4 | sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/" |\ |
5 | tee /dev/tty |\ | ||
5 | curl -X POST -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1/upload | 6 | curl -X POST -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1/upload |