osrm-backend
osrm-backend copied to clipboard
Route pedestrians over highway=platform
Please allow pedestrians to be routed over highway=platform
. (This tag should be treated the same as highway=footway
.) Currently, they are diverted onto the street, see e.g. here.
This is important!
I noticed the same problem, for small walk through sidewalk,where a part is higher, this is the platform. On the publiic_transport=platform area=yes is the highway=platform (routing) line. Routing line with tactile_paving, line drawn on this tactile_paving pavingstones line. The save walk route. At a highway platform you can expect people waiting for the bus. Because it is so small, there is no footway beside the platform.
Not routing over it can give a huge detour on foot, or with a wheelchair, this must be avoided.
Like the example above. On the country side, road with sidewalk drawn in. less roads, this give huge detour. Also when there is foot=no on the road. Or foot=use_sitepath. (if use_sidepath is used in routing)
to the hospital, and there is a foot=use_sidepath on the road unsafe route.
The problem seems to be that the data imported when extracting data (the original osm or pbf file) did not include railway=platform ways. Use this query on overpass turbo to include railway platforms and other needed data (piers and leisure tracks):
[out:xml]
;
(
way["highway"]({{bbox}});
node(w);
node(r);
way(r);
way["railway"="platform"]({{bbox}});
node(w);
node(r);
way(r);
way["man_made"="pier"]({{bbox}});
node(w);
node(r);
way(r);
way["leisure"="track"]({{bbox}});
node(w);
node(r);
way(r);
);
out meta;
>;
Any update on this?
As the problem appears on openstreetmap.org when routing with OSRM, should we ask them to perform what @kaligrafy suggests?
Also, this issue appears on the official OSRM demo website, so if the issue isn't fixed in the code, the above fix should also be performed there.
It is still a problem.
Way highway=plaform does not route.
A fix for this would be appreciated. It currently leads to lots of broken pedestrian routing.
Another hack is to add the tag highway=footway on platforms, which is in my opinon, 100% valid.
This is about highway=platform
, so highway=footway
cannot be added
While I agree with @kaligrafy (and I guess he means change not add), the OSM wiki suggests to map highway=platform
for line features. So we should add it (also talking about us over in Valhalla, not supporting it either yet). Should be really quick & easy for both to implement. I'll fix it for Valhalla soon, can take a quick stab at OSRM too.
I agree this should be fixed anyway.