Modify

Opened 13 years ago

Last modified 3 years ago

#5746 new enhancement

Implement "if-unused" osmChange API feature for outside BBOX nodes

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: if-unused API diff API0.6 node delete Cc:

Description (last modified by pnorman)

API 0.6 has been extended to support a "if-unused" delete node attribute on osmChange diff uploads.

Introduced here: http://git.openstreetmap.org/rails.git/commitdiff/2d937f94d55c0b8f94b024f579a78271d85fbe9a

It would make sense to start using this for nodes which are deleted, instead of prompting user when they attempt to delete a node outside known BBOX.

Attachments (0)

Change History (9)

comment:2 by framm, 13 years ago

It is probably not good to use this for *all* nodes that are deleted because this means that editing conflicts go unnoticed. And it is probably not good either to drop the "you are deleting stuff outside the downloaded area" message either because doing so is usually not a good thing - some things might rely on what you're deleting without actually using it, e.g. you delete a road for which someone else has made a corridor through a forest just outside your downloaded area - so you want to delete the road and let the corridor remain? etc.

in reply to:  2 comment:3 by pnorman, 11 years ago

Description: modified (diff)

framm: We had talked a couple of weeks ago, do you have any further thoughts on this? I think it makes sense to do if-unused for all nodes outside the downloaded area

comment:4 by skyper, 11 years ago

We have to be careful as framm already mentioned. Though I am sometimes annoyed about the stupid conflicts when just deleting nodes outside area which are no end nodes of any way.

Did not really understand what "if-unused" is really doing but if it checks for tags, membership, end node of way and not part of more than one remaining way, it would be save to use. Seems something similar was implemented.

We only need to take care of new objects.
Still a major task and I would prefer to get the defects about conflict detection fixed first.

in reply to:  4 ; comment:5 by Don-vip, 11 years ago

Replying to skyper:

Did not really understand what "if-unused" is really doing

There is some documentation.

in reply to:  5 comment:6 by skyper, 11 years ago

Replying to Don-vip:

Replying to skyper:

Did not really understand what "if-unused" is really doing

There is some documentation.

Thanks but if this method does not check for tags on the deleted nodes which is dangerous and overall it seems to be not very useful as conflict management should already handle any edge cases and the rest should be deletable anyway.

What I was looking for was a method which simply deletes the crossing node of two ways once one is deleted plus manages cases with more than two ways by keeping the node both without any new conflicts. Sure the four checks previously mentioned are needed.

Last edited 11 years ago by skyper (previous) (diff)

comment:7 by skyper, 11 years ago

Ok, we could benefit of less conflicts but leaving quite some unneeded nodes within the data. The problem is that "update data" only checks objects within download area and will not find these conflicts. You either have to manually download the area or you might get a lot of upload interruptions. I did not check if "update modified" checks delete nodes but I guess not.

comment:8 by pnorman, 11 years ago

The user deleting already knows if there are tags on the deleted nodes, they just don't know if they are referenced by another object. if-unused is equivalent to automatically resolving in favour of keeping.

comment:9 by blackboxlogic@…, 3 years ago

This feature would still be nice to have! (he says, talking into the void)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.