Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#7196 closed enhancement (fixed)

Missing multipolygon role check

Reported by: mdk Owned by: team
Priority: normal Milestone: 14.01
Component: Core validator Version: latest
Keywords: Cc:


If a multipolygon relation contains an inner inside an inner area, this is an error, but the validator did not complain about it.

In the attached example, the wood has the role "inner" in the forest MP. But it should be inner of the missing lake MP, which is inner of the forest). Or the wood should have no role. But for the example the validator should complain "Role mismatch: 'wood' is inner of an other inner."

Attachments (1)

roleMismatch.osm (3.1 KB) - added by mdk 8 years ago.
Multipolygon with two inner, where one inner is (wrongly) inside an other inner.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by mdk

Attachment: roleMismatch.osm added

Multipolygon with two inner, where one inner is (wrongly) inside an other inner.

comment:1 Changed 6 years ago by simon04

Resolution: fixed
Status: newclosed

In 6575/josm:

fix #7196 - Validator: add multipolygon role check

This is done by creating a new multipolygon using the logics from
"Create multipolygon" and see if the roles match.

comment:2 Changed 6 years ago by Don-vip

Milestone: 14.01

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.