Modify

Opened 12 years ago

Closed 12 years ago

#7470 closed defect (fixed)

[Patch] Annoying warning about deleting nodes with id:0 outside BBox

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

I get warnings about deleting nodes with id:0 outside BBox.

There should be no warning as you can not delete any incomplete object by deleting a node with id:0

r5033

Attachments (2)

outside_BBox_sample.osm.bz2 (629 bytes ) - added by skyper 12 years ago.
sample
7470.patch (4.5 KB ) - added by simon04 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by simon04, 12 years ago

Please attach a test file, I cannot reproduce (1. download some area, 2. add a node outside the area, 3. delete this node).

in reply to:  1 ; comment:2 by skyper, 12 years ago

Replying to simon04:

Please attach a test file, I cannot reproduce (1. download some area, 2. add a node outside the area, 3. delete this node).

Sorry not much time right now:

Please, try it with a way id:0.

Thanks

in reply to:  2 comment:3 by skyper, 12 years ago

Replying to skyper:

Replying to simon04:

Please attach a test file, I cannot reproduce (1. download some area, 2. add a node outside the area, 3. delete this node).

Sorry not much time right now:

I had five minutes !

Sorry my description is incomplete.

  1. download an closed way with at least one node outside BBox
  2. use terracer to terrace keeping the original way
  3. delete the new created closed way with the node outside BBox

It has to due with ways. I gonna attach an example.

by skyper, 12 years ago

Attachment: outside_BBox_sample.osm.bz2 added

sample

by simon04, 12 years ago

Attachment: 7470.patch added

comment:4 by simon04, 12 years ago

Summary: Annoying warning about deleting nodes with id:0 outside BBox[Patch] Annoying warning about deleting nodes with id:0 outside BBox

The attached patch should take care of this issue. Patch explained in words: As the delete operation already takes care of including/excluding way-nodes from deletion, there is no need to check ways in the outlying check.

To be on the safe side, I'd await the end of stabilization phase although I do not expect any problems with the patch.

comment:5 by simon04, 12 years ago

Ticket #7080 has been marked as a duplicate of this ticket.

comment:6 by simon04, 12 years ago

Resolution: fixed
Status: newclosed

In 5060/josm:

fix #7470 - tune warning of nodes out of downloaded bbox

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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