def _changeset_update(id, tags): changeset = oauth.put(request.session['oauth_tokens'], utils.remote_url_write + 'api/0.6/changeset/' + id, _osm_changeset(tags, id=id))
def _changeset_close(id): changeset = oauth.put(request.session['oauth_tokens'], utils.remote_url_write + 'api/0.6/changeset/' + id + '/close')
def _changeset_create(tags): changeset = oauth.put(request.session['oauth_tokens'], utils.remote_url_write + 'api/0.6/changeset/create', _osm_changeset(tags)) return changeset