diff options
| author | typebrook <typebrook@gmail.com> | 2019-11-14 17:14:58 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-11-14 17:14:58 +0800 |
| commit | 0608603e07fbd446315eddcefac35966ed9ac693 (patch) | |
| tree | 7e12363247ca9c5abd94d822fb4cf81bd2aa56dc /utils | |
| parent | 51d0426388b8fa8ad411942139a626bbc83ef711 (diff) | |
update
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/osm | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -213,7 +213,9 @@ osm.api.changeset.add() { | |||
| 213 | } | 213 | } |
| 214 | osm.api.changeset.upload() { | 214 | osm.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 |