Opened 9 years ago
Closed 5 years ago
#13518 closed defect (fixed)
Inner outer ring check is not promted as frequently as it should
Reported by: | openstreetmap.org-user-d1g | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core validator | Version: | |
Keywords: | multipolygon | Cc: | GerdP |
Description (last modified by )
From Valid Multipolygon conditions:
- Inner polygons must not overlap with outer polygons or touch them.
There multiple issues with this video:
- validation is not triggered at the first attempt, I have to move objects and also to deselect an inner ring
- text label is not precise. Please change text to "outer and inner rings of the multi-polygon shouldn't have a common nodes"
Movie(MP inner outer check.mp4)
PS. I started work on multipolygon tools, expect many reports and obscure bugs :)
Attachments (3)
Change History (18)
by , 9 years ago
Attachment: | MP inner outer check.mp4 added |
---|
by , 9 years ago
Attachment: | touching inner and outer rings.joz added |
---|
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 9 years ago
comment:4 by , 9 years ago
Component: | Core → Core validator |
---|
comment:5 by , 9 years ago
Description: | modified (diff) |
---|
comment:9 by , 9 years ago
by , 9 years ago
Attachment: | inner_ring_intersect.osm added |
---|
follow-up: 11 comment:10 by , 9 years ago
The same thing happens with inner-inner intersections.
If you load "inner_ring_intersect.osm", then click "Validation" button, error appears.
But if you then select any inner ring and re-run validation, no errors will be shown.
comment:11 by , 9 years ago
Replying to Vort_:
But if you then select any inner ring and re-run validation, no errors will be shown.
Not sure, but I think this is intended. If you select the inner way then only this way is validated. The relation is ignored
as it is not in the list of selected items.
comment:12 by , 9 years ago
Turns out that deselection part of this report is not a problem.
Thanks for clarification.
comment:13 by , 9 years ago
Do you use my patches for your tests? I am thinking about a complete rewrite of the existing Multipolyogn code in JOSM, but I am not sure yet as the code seems to support some old style multipolygons which are no longer documented in the wiki at
http://wiki.openstreetmap.org/wiki/Relation:multipolygon
For example, it seems to handle heavily nested mp with inner inside outer inside inner inside outer and so on. I did not find a real world example for this yet, but the JOSM source contains core\data_nodist\multipolygon.osm which has a few samples of this
e.g. "Example 8 (01)"
comment:14 by , 8 years ago
Keywords: | multipolygon added; multipolygons removed |
---|
comment:15 by , 8 years ago
@Vort_ : I assume the problems are already fixed with r11227. Can we close this ticket?
comment:16 by , 8 years ago
I'm not the author of this report.
My problem was just with misunderstanding of JOSM behaviour.
And that is really "fixed" :)
I did not tested other parts of this report.
And don't know what is their state now.
comment:17 by , 5 years ago
Milestone: | → 16.02 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
probably fixed with r11227
If you play with inner ring more by just slightly placing it, this validation check work roughly every 2 time. I don't have explanation why or exact steps when.