diff options
| -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 |