Opened 7 years ago
Closed 4 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)
Changed 7 years ago by
Attachment: | MP inner outer check.mp4 added |
---|
Changed 7 years ago by
Attachment: | touching inner and outer rings.joz added |
---|
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by
comment:4 Changed 7 years ago by
Component: | Core → Core validator |
---|
comment:5 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:9 Changed 7 years ago by
Changed 7 years ago by
Attachment: | inner_ring_intersect.osm added |
---|
comment:10 follow-up: 11 Changed 7 years ago by
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 Changed 7 years ago by
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 Changed 7 years ago by
Turns out that deselection part of this report is not a problem.
Thanks for clarification.
comment:13 Changed 7 years ago by
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 Changed 6 years ago by
Keywords: | multipolygon added; multipolygons removed |
---|
comment:15 Changed 6 years ago by
@Vort_ : I assume the problems are already fixed with r11227. Can we close this ticket?
comment:16 Changed 6 years ago by
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 Changed 4 years ago by
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.