[Rebuild] relations
"Petr Morávek [Xificurk]"
xificurk at gmail.com
Sat Mar 10 14:12:23 GMT 2012
Hello,
what's the intended algorithm for rebuilding relations? Is the same as
for ways/nodes, i.e.
1) If the relation was created by decliner, delete it.
2) If the relation was modified by decliner, roll back to the latest
clean version.
3) Otherwise, leave it in place.
This algorithm would be extremely destructive for large boundary and
route relations. For these relations a better approach would be: go over
the list of members and if the member was added by a decliner, remove it
from list, otherwise leave it there.
This better corresponds to the way that these relations are created and
edited.
Another problem might be way splits - if a user splits a way that is
member of a relation, then decent editors automatically modify the
member list of that relation. So, the relation gets "accidentally" (the
user did not intend to modify the relation in any way) tainted. So, the
changesets with small number of added member ways might be a good place
to start looking for way splits.
Best regards,
Petr Morávek aka Xificurk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/rebuild/attachments/20120310/3e2249d3/attachment.pgp>
More information about the Rebuild
mailing list