Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4496 closed defect (fixed)

Potlatch 2 can leave isolated nodes

Reported by: Madryn Owned by: potlatch-dev@…
Priority: minor Milestone:
Component: potlatch2 Version:
Keywords: odbl=clean isolated node Cc:

Description

My understanding is that, when a way is deleted, all of its nodes are deleted unless they are part of other ways or are tagged with further information. That rule appears to be followed even if the only tag on a node is 'odbl=clean'. I deleted a way (a short footpath) that contained several nodes marked odbl=clean. After deleting the way, several isolated nodes remained, each tagged with 'odbl=clean' and no other tags. It would be easy to fail to notice these nodes and to leave them in place, thus increasing the size of the database without adding anything to the map. I was using the default editor (Potlatch 2 in-browser) running on Firefox under Windows XP.

Change History (4)

comment:1 Changed 7 years ago by stevage

Just to check I've understood, you're saying that when the user deletes a way in Potlatch2, any nodes that only contain an "odbl=clean" tag and nothing else should also be deleted?

If so, this sounds like the kind of mass automation task that is likely to be run at some point in the future anyway, I'm guessing?

comment:2 Changed 7 years ago by Richard

I think this is just a matter of adding 'odbl' to the key lists in hasInterestingTags in Entity.as and EntityCollection?.as.

comment:3 Changed 7 years ago by Richard

Resolution: fixed
Status: newclosed

comment:4 in reply to:  1 Changed 7 years ago by Madryn

Replying to stevage:

Just to check I've understood, you're saying that when the user deletes a way in Potlatch2, any nodes that only contain an "odbl=clean" tag and nothing else should also be deleted?

If so, this sounds like the kind of mass automation task that is likely to be run at some point in the future anyway, I'm guessing?

Thank you, that's exactly what I meant.

Note: See TracTickets for help on using tickets.