Opened 15 years ago
Closed 14 years ago
#4761 closed defect (fixed)
Invalid warning about unclosed multipolygon
Reported by: | delta_foxtrot2 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | latest |
Keywords: | multipolygon warning | Cc: |
Description
The validator plugin should check to see if all members are present in a multipolygon before warning about it being unclosed.
Attachments (2)
Change History (6)
comment:1 by , 15 years ago
Keywords: | multipolygon warning added |
---|---|
Version: | → latest |
by , 14 years ago
by , 14 years ago
Attachment: | 4761.patch added |
---|
comment:2 by , 14 years ago
Summary: | Invalid warning about unclosed multipolygon → [Patch] Invalid warning about unclosed multipolygon |
---|
Fixed in the attached patch.
comment:3 by , 14 years ago
Summary: | [Patch] Invalid warning about unclosed multipolygon → Invalid warning about unclosed multipolygon |
---|
Sorry, submitted the patch to the wrong ticket. Nevertheless, the attached example contains unclosed ways, but doesn't reveal this bug. I think, this fixed in the meanwhile, isn't it?
The following snipped from MultipolygonTest should take care of not warning about unclosed+incomplete multipolygons.
for (RelationMember rm : r.getMembers()) { if (!rm.getMember().isUsable()) return; // Rest of checks is only for complete multipolygons }
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
example