aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-14 17:14:58 +0800
committertypebrook <typebrook@gmail.com>2019-11-14 17:14:58 +0800
commit0608603e07fbd446315eddcefac35966ed9ac693 (patch)
tree7e12363247ca9c5abd94d822fb4cf81bd2aa56dc
parent51d0426388b8fa8ad411942139a626bbc83ef711 (diff)
update
-rw-r--r--utils/osm4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/osm b/utils/osm
index 5fd5798..a911f77 100644
--- a/utils/osm
+++ b/utils/osm
@@ -213,7 +213,9 @@ osm.api.changeset.add() {
213} 213}
214osm.api.changeset.upload() { 214osm.api.changeset.upload() {
215 cat $2 |\ 215 cat $2 |\
216 sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/" 216 sed -r "/<(node|way|relation)/ s/>/ changeset=\"$1\">/
217 /<(node|way|relation)/,/<\/(node|way|relation)/
218 "
217 #curl -X POST -u $OSM_USER_PASSWD -T - $OSM_API/changeset/$id/upload 219 #curl -X POST -u $OSM_USER_PASSWD -T - $OSM_API/changeset/$id/upload
218} 220}
219# update changeset with a new comment 221# update changeset with a new comment