diff options
author | typebrook <typebrook@gmail.com> | 2019-11-13 18:13:11 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-11-13 18:13:11 +0800 |
commit | 16c052c50af62821068ce7c0248062fdcc196a9d (patch) | |
tree | 38f756af9b9fafb2abe5387da4c849f5a1fcd6fa | |
parent | a2507eac52a349e17e5aaa5d23ab6312ebbf7767 (diff) |
update
-rw-r--r-- | utils/osm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -172,7 +172,9 @@ osm.update() { | |||
172 | # $1 as .osm file $2 as list of change content | 172 | # $1 as .osm file $2 as list of change content |
173 | # use Diff upload: POST /api/0.6/changeset/#id/upload maybe? | 173 | # use Diff upload: POST /api/0.6/changeset/#id/upload maybe? |
174 | osm.osm.update() { | 174 | osm.osm.update() { |
175 | 175 | echo "<modify>" | |
176 | awk '{print "<" $1 " id=\"" $2 "\""}' $1 | ||
177 | echo "</modify>" | ||
176 | } | 178 | } |
177 | # create a new changeset | 179 | # create a new changeset |
178 | osm.api.changeset.create() { | 180 | osm.api.changeset.create() { |