Describe the bug
If the mapper creates a multipolygon relation in JOSM that has an outer and inner ring (i.e. a hole), and then applies the MGCP preset for an Extraction Mine, running the JOSM validator (or attempting to upload) produces a warning "Crossing ways - crossing landuses" even though there is no crossing. OSM's JOSM (version 16812 - a bit old, I can try with the latest and update the ticket. Just tried with OSM JOSM version 17428, which is the latest tested version, and it, like the older version of OSM JOSM, does not have this problem) does not produce the same warning for the tag landuse=surface_mining, which is what the schema switcher translates FCODE=AA010 to. Also, a multipolygon that does not have an inner ring, does not seem to have this same issue.
Also Applies to
AA012 Quarry
To Reproduce
Open JOSM
Download an area
Make sure schema is set to "MGCP"
Draw a closed way
Draw another closed way, this one completely within the first.
Select both ways
Tools - > Create Multipolygon
In the tags panel, JOSM displays:
Press F3 on keyboard
Search for "mine"
Click on "MGCP/Culture/Extraction/Extraction Mine"
Click the "Select" button
In the preset dialog box, click "Apply Preset"
Click the "Validation" button:
JOSM displays:
re-adding the tag type=multipolygon fixes the error, but not the warning.
Click on the edit button that is part of the Relations panel in JOSM:
Add the tag type=multipolygon :
Click "OK"
Again, click the validation button
in the Validation panel, JOSM displays:
Here is a screenshot of the ways, they do not cross:
Expected behavior
No warning about crossing ways when mapping a area Extraction Mine with a multipolygon having a hole.
Screenshots
Embedded in “To Reproduce” section above.
Desktop (please complete the following information):
OS: Ubuntu 16.04
JOSM: 9.2.1
Smartphone (please complete the following information):
Describe the bug If the mapper creates a multipolygon relation in JOSM that has an outer and inner ring (i.e. a hole), and then applies the MGCP preset for an Extraction Mine, running the JOSM validator (or attempting to upload) produces a warning "Crossing ways - crossing landuses" even though there is no crossing. OSM's JOSM (version 16812 - a bit old, I can try with the latest and update the ticket. Just tried with OSM JOSM version 17428, which is the latest tested version, and it, like the older version of OSM JOSM, does not have this problem) does not produce the same warning for the tag landuse=surface_mining, which is what the schema switcher translates FCODE=AA010 to. Also, a multipolygon that does not have an inner ring, does not seem to have this same issue.
Also Applies to
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context