#18083 closed defect (fixed)
Combine way: No warning about data outside of download area
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 20.01 |
Component: | Core | Version: | latest |
Keywords: | template_report combine way download area | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Have two ways, connected at end nodes, with at least one way completely outside download area.
- combine the ways
What is the expected result?
A warning about combining ways outside of download area. Similar to the one about deleting nodes outside download area.
What happens instead?
No warning
Please provide any additional information below. Attach a screenshot if possible.
Mark this as defect as it is easy to damage relations this way, as they might not have been downloaded at all.
see #17400 and #18084 for the same problem with split way
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019) Build-Date:2019-08-26 06:57:10 Revision:15322 Relative:URL: ^/trunk
Attachments (2)
Change History (15)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Description: | modified (diff) |
---|
See attached file.
Simply, combine the two ways.
I usually get in these kind of situations when downloading selected incomplete members within the relation manager.
comment:4 by , 5 years ago
There is also a bigger problem when the way outside the download area belongs to a relation (see #6914). In this case these relations may not be loaded. If this way is deleted during combine, there will be conflicts on upload, because the relations still reference the deleted way.
comment:5 by , 5 years ago
The current code ignores incomplete ways in the selection. It would be easy to do the same for ways with nodes outside the download area. So, action would be disabled when the selection contains fewer than two ways which are complete and not outside. If C is pressed only the "good" ways are used for combine.
For a warning we would enable the action when two or more complete ways are selected and show a popup if any of them has nodes outside the download area.
Or maybe a mixture of both solutions?
by , 5 years ago
Attachment: | 18083.patch added |
---|
comment:8 by , 5 years ago
See #18495 which shows a regression.
I fear my change was too agressive. You described the rather unlikely case that one way is completely outside of the download area. My change rejects ways with one or more nodes outside the download area. This happens quite often and I see no problem when we allow the combination.
comment:10 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
can you please attach a sample .osm file?