Modify

Opened 17 years ago

Closed 17 years ago

#774 closed enhancement (fixed)

validator overlapping way test enhancements - patch

Reported by: rrankin@… Owned by: framm
Priority: major Milestone:
Component: Plugin Version: latest
Keywords: validator overlappingways Cc:

Description

This patch does two things. First, redundant overlapping ways are only reported once, and secondly, overlapping highways and railways are reported separately.

The current overlapping way test returns a set of ways for each way segment that overlaps. This means that sets of ways can be returned several times. In my Sydney Australia test data from OSM the current validator returns 408 overlapping occurrences caused by 172 sets of ways. This patch causes only the 172 sets of ways to be reported while still marking all overlapping way segments in the validation layer.

After using the JOSM editor and validator for about a month, I understand that overlapping highways and railways almost always need to be fixed, but overlapping areas, such as land use areas with a common border, tend not to be a big issue. This patch thus causes overlapping highways and railways to be reported separately.

I have done some timings on the test data I mentioned above, and the patch seems to speed up rather than slow down the validator.

Attachments (1)

OverlappingWays.diff (2.1 KB ) - added by rrankin@… 17 years ago.
svn diff file

Download all attachments as: .zip

Change History (4)

by rrankin@…, 17 years ago

Attachment: OverlappingWays.diff added

svn diff file

comment:1 by anonymous, 17 years ago

See also bugs #726 and #725 for this topic. I think this patch fixes both.

Does it?

comment:2 by rrankin@…, 17 years ago

This patch directly addresses the issue raised in #726.
Also it deals with the issue raised by #725. But rather than disabling overlapping area ways , separates out cases where at least two of the overlapping ways are highways or railways. (note that two or more highways and zero or more other types of ways with overlapping way segments are still classified as overlapping highways in this patch)

comment:3 by stoecker, 17 years ago

Resolution: fixed
Status: newclosed

Applied patch (fixed for I18N).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.