Opened 3 years ago
Last modified 13 months ago
#15530 new enhancement
Designated direction for railway tracks
Reported by: | Zverikk | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Internal preset | Version: | |
Keywords: | railway direction | Cc: |
Description
Oneway tag is not applicable to railway=rail (and others, like railway=subway), because there are no legal obstacles to trains going either way. But usually there is a common direction of travel. Mappers use these tags to specify it:
- railway:preferred_direction=forway/backward/both
- designated_direction=forward/backward/both
These tags are used on 61k and 3.5k objects respectively. Could you please add both, ot at least the first one, to presets and the map style? It would help mappers not add oneway=yes on railway tracks and hint at the correct tagging.
Also it'd be great to validate railway+oneway combilation and suggest a better tagging.
Attachments (0)
Change History (8)
comment:1 Changed 3 years ago by
Keywords: | railway direction added |
---|
comment:2 Changed 3 years ago by
Component: | Internal mappaint style → Internal preset |
---|
comment:3 Changed 3 years ago by
comment:4 Changed 3 years ago by
Yes, oneway is not formally applicable to railways, since trains are not forbidden by law to go in opposing directions. Oneway is a kind of access: think of it as "access:backward=no". For that reason two railway communities — german and russian — invented these two tags to map designated directions of railway tracks.
comment:5 Changed 3 years ago by
Also see a comment about oneway here: https://wiki.openstreetmap.org/wiki/OpenRailwayMap/Tagging#Railway_Line
comment:6 Changed 13 months ago by
There are several solutions (some might be combined):
- ignoring
oneway
forrailway
- using
oneway:train=*
,oneway:railway=*
or similar - using access tags
train:forward/backward
or similar - using the proposed
railway:preferred_direction=forway/backward/both
anddesignated_direction=forward/backward/both
comment:8 Changed 13 months ago by
Replying to Zverikk:
Why invent new tags for what's already on the map?
- What are
railway:preferred_direction=forway/backward/both
and designated_direction=forward/backward/both
? New? Not any more I guess. train:forward/backward
is mentioned on the wiki page fordesignated_direction=forward/backward/both
and not new.
Current numbers, all only ways:
oneway=*
together withrailway=*
: 98129 keys/oneway?filter=ways#combinationsrailway:preferred_direction=*
: 77137 keys/railway:preferred_direction?filter=waysdesignated_direction=*
: 14278 keys/designated_direction?filter=ways
Hm, currently there are 88k ways with railway=* + oneway=*, which is more than the 61k railway:preferred_direction.
Is there a clear statement from the "railway fraction" of OSM about this tagging topic?