abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
494 stars 117 forks source link

Railway Ferry Routing #273

Open lightsprint09 opened 3 years ago

lightsprint09 commented 3 years ago

How can we enable railway routing which works on railway ferries.

There are ferry routes which contain the tag railway with a value of ferry. (See ferry route Messina - Villa San Giovanni).

quaelnix commented 1 year ago

We would have to add railway=ferry to the lookup table, but it only seems to be used 17 times world wide: https://taginfo.openstreetmap.org/tags/railway=ferry#overview

A temporary workaround would be to use bee-line mode in such cases, see: https://github.com/nrenner/brouter-web/issues/760#issuecomment-1662249156

rkflx commented 1 year ago

it only seems to be used 17 times world wide

I'd be hesitant to only look at absolute numbers in this instance, given such infrastructure is expected to be rare. It would be more helpful to look at the percentage, i.e. how many of the train lines using ferries currently operating worldwide have associated ways or relations tagged that way?

Another metric to look at or to estimate could be the number of passengers or the amount of freight per year, which might be quite high due to the bottleneck nature of ferry routes and the high capacity of a train line, increasing relevancy for (train) routing. Another hint might be the number of requests for this to date (#273, nrenner/brouter-web#342, nrenner/brouter-web#760).

is railway=ferry correct?

At least it is listed on https://wiki.openstreetmap.org/wiki/OpenRailwayMap/Tagging#Train_ferry.

There is also route=ferry with train=yes (undocumented?) or railway=yes (see here), however this seems to be used little or not at all.