Opened 17 years ago
Closed 17 years ago
#774 closed enhancement (fixed)
validator overlapping way test enhancements - patch
Reported by: | 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)
Change History (4)
by , 17 years ago
Attachment: | OverlappingWays.diff added |
---|
comment:1 by , 17 years ago
comment:2 by , 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 , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied patch (fixed for I18N).
svn diff file