-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Detect redundant relations #39
Comments
@Polfo thanks for suggesting this new functionality As a first step, I wrote some code to explore the possibilities for detecting duplicate routes. The code looks for routes with the same name that have at least one way in common. The result is here. Next would be to figure out if this result actually makes sense. Really duplicate routes? Not too many false positives? The amount of routes found in Germany seems suspiciously high. |
@vmarc Great. Thanks. |
The report has been updated to include the suggested columns, and a percentage overlap. This makes it easier to distinguish between exact duplicates (100% overlap) and routes with only partial overlap. The routes with partial overlap have to be looked at more closely to see if it would make sense to issue warnings for those. For example: there seem to be cases where there are 2 alternative routes between the same nodes. For these it seems to be perfectly ok to have some overlap. It would not be good to issue a warning in these cases. It would be nice if we could somehow recognize these cases by looking at the tags. Further assistance to analyze the situation is certainly welcome. |
I added encountered frequency in the pseudocode above |
Report 21 may 2024: nl/hiking 46561 routes, with 43 overlaps
nl/cycling 15657 routes, with 8 overlaps
nl/horse-riding 2021 routes, with 2 overlaps
be/hiking 15439 routes, with 21 overlaps
be/cycling 10433 routes, with 17 overlaps
de/hiking 13745 routes, with 14 overlaps
de/cycling 13042 routes, with 31 overlaps
fr/hiking 20420 routes, with 56 overlaps
fr/cycling 1792 routes, with 7 overlaps
at/cycling 132 routes, with 1 overlaps
es/hiking 275 routes, with 1 overlaps
|
related to JOSM/pt_assistant#66 |
Currently, way 214190421 is part of 4 relations. Relations 3265927 and 6705827 both are part of the same network and carry the same
note = 60-298
tag.Could knooppuntnet provide a warning about this situation. The only current warning is about an incomplete route, while a (different) complete route exists.
The text was updated successfully, but these errors were encountered: