Opened 16 years ago

Last modified 12 years ago

#4582 closed defect

Overlapping Areas misreported — at Initial Version

Reported by: pinkduck Owned by: team
Priority: major Milestone:
Component: Core validator Version: tested
Keywords: overlapping area way Cc: pinkduck, AM909, landwirt@…, moltonel, scai

Description

With two closed ways representing two mutually exclusive areas, if both are separate there is no issue. If they share a single node at a vertex there is no validation report. However, if they share two nodes of a common edge then an 'Overlapping areas' validation 'Other'-type notification is given by the JOSM Validator plug-in.

When these two areas only overlap at their polygon borders I don't think there should be a validation notification raised. While there is a one-dimensional overlapping line of the virtual separation of a 2D surface, it tends towards zero given an infinitesimal approximation.

If there is any true overlap of the areas defined by the polygonal borders then this 'Other' notification is acceptable. This could be calculated using an algorithm similar to that described at: http://mathforum.org/library/drmath/view/63171.html. However, with the adaptation that parallel test edges should be excluded from determining the overlap. An obvious exception being when all nodes of each area overlap.

Change History (0)

Note: See TracTickets for help on using tickets.