#22546 closed enhancement (fixed)
[patch] Warn about floating railway switches and crossings
Reported by: | Famlam | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.12 |
Component: | Core validator | Version: | |
Keywords: | railway switch railway_crossing | Cc: | gaben |
Description
Crossings of two railways (railway=railway_crossing
) and railway switches (railway=switch
) by definition cannot exist as isolated nodes without any "underlying" (former) (rail)way that they're part of. Likely they're forgotten remains of now-deleted railways. Especially railway=switch
seems pretty common to be remaining (already 130 in NL+BE+DE only); a 'floating' railway=railway_crossing
is relatively rare (6 in NL+BE+DE)
Examples:
switch:
https://overpass-turbo.eu/s/1ov9 (ex: https://www.openstreetmap.org/node/1026459392, https://www.openstreetmap.org/node/1051328033 (both isolated nodes next to a real switch))
railway_crossing:
https://overpass-turbo.eu/s/1ova (ex: https://www.openstreetmap.org/node/4635993887 https://www.openstreetmap.org/node/2665878649 )
Hence I would propose to add the following to
https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/geometry.mapcss#L277
node:unconnected:in-downloaded-area[railway=switch], node:unconnected:in-downloaded-area[railway=railway_crossing],
as part of the existing rule isolated node which must be connected to a way
Attachments (0)
Change History (10)
comment:1 by , 20 months ago
Summary: | Warn about floating railway switches and crossings → [patch] Warn about floating railway switches and crossings |
---|
comment:2 by , 19 months ago
Cc: | added |
---|
comment:3 by , 13 months ago
Milestone: | → 23.10 |
---|
comment:7 by , 12 months ago
Milestone: | → 23.12 |
---|
comment:9 by , 11 months ago
Please consider closing the corresponding ticket on GH before it's forgotten.
Patch on Github:
https://github.com/JOSM/josm/pull/117