[OSM-talk] revert.pl
andrzej zaborowski
balrogg at gmail.com
Fri Sep 4 04:33:51 BST 2009
2009/9/4 Richard Weait <richard at weait.com>:
> On Thu, Sep 3, 2009 at 9:04 PM, Richard Weait<richard at weait.com> wrote:
>> On Thu, Sep 3, 2009 at 8:02 PM, andrzej zaborowski<balrogg at gmail.com> wrote:
>>> It'll probably fail with error 500 because there are so many elements
>>> and the server seems unstable, so you can split the changeset using
>>> http://www.openstreetmap.pl/balrog/bulkupload/split.py and upload in
>>> reverse order, it should still be much quicker than using the revert
>>> tool.
>
> split.py expected changesets of version 0.3, but the API is providing
> version 0.6. Split worked after I changed the version it expected.
Ahh yes, that's because the
http://wiki.openstreetmap.org/wiki/OsmChange page never mentions what
the version is supposed to be and all examples use "0.3" on that page
(is it possible that they come from the time when 0.3 was the API
version?). I once made upload.py accept both 0.3 and 0.6 and forgot
to do the same to split.py but now changed it too.
>
> upload.py gave authentication errors. Should I have escaped the "@"
> in my email address?
Honestly I don't know, I only ever login using the username alone (in
your case that would be rw__?), I'll try out email authentication next
time I'll be uploading something. For now added a comment at the top
of the file.
Cheers
More information about the talk
mailing list