aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--utils/osm4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/osm b/utils/osm
index 6963c9e..cf24e8c 100644
--- a/utils/osm
+++ b/utils/osm
@@ -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?
174osm.osm.update() { 174osm.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
178osm.api.changeset.create() { 180osm.api.changeset.create() {