Opened 7 years ago
Last modified 3 years 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 (10)
comment:1 by , 7 years ago
Keywords: | railway direction added |
---|
comment:2 by , 7 years ago
Component: | Internal mappaint style → Internal preset |
---|
comment:3 by , 7 years ago
comment:4 by , 7 years ago
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 by , 7 years ago
Also see a comment about oneway here: https://wiki.openstreetmap.org/wiki/OpenRailwayMap/Tagging#Railway_Line
comment:6 by , 5 years ago
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 by , 5 years ago
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
comment:9 by , 4 years ago
Numbers grew over the month but more or less similar for all three tags. I have to admit that I did not check how many of these numbers overlap as tag on the same object and which are combined with highway=*
.
railway:preferred_direction=*
is covered by the OpenRailway preset.
designated_direction=*
might be useful together with conveying, but it is only used sporadically, atm.
comment:10 by , 3 years ago
Just a quick update. railway:preferred_direction=*
is now on top compared to oneway=*
together with railway=*
. designated_direction=*
is crowing the least and seems to be used mostly in Eastern Europe, mainly in Russia.
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?