[OSM-dev] Resurrecting deleted objects
Dave Hansen
dave at sr71.net
Fri Dec 21 19:29:13 GMT 2007
I was inspired to do this because a few TIGER uploads have had "issues"
when someone deleted nodes in the middle of an upload. So far, I've
fixed those up by hand, but they *SUCK* to do that way.
Anyway, here's an update to the perl APIClientV5 which allows bringing
objects "back from the dead". I've attached another script modified
from bulk_upload.pl to call into the new APIClientV5 function:
resurrect().
It'll also check ways that you want resurrected to ensure that all of
the nodes are in place and exist before performing its actions.
Thoughts?
-- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resurrect.diff
Type: text/x-patch
Size: 2328 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071221/ba246580/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resurrect.pl
Type: application/x-perl
Size: 1580 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071221/ba246580/attachment-0001.bin>
More information about the dev
mailing list