osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Route pedestrians over highway=platform

Open ghost opened this issue 5 years ago • 4 comments

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.

ghost avatar Mar 27 '19 20:03 ghost

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.

AllroadsNL avatar Aug 05 '19 11:08 AllroadsNL

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;
>;

kaligrafy avatar Mar 27 '20 15:03 kaligrafy

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.

16NoCo avatar Jan 20 '22 09:01 16NoCo

It is still a problem.

Way highway=plaform does not route.

AllroadsNL avatar Apr 04 '22 08:04 AllroadsNL

A fix for this would be appreciated. It currently leads to lots of broken pedestrian routing.

Woazboat avatar Feb 06 '23 14:02 Woazboat

Another hack is to add the tag highway=footway on platforms, which is in my opinon, 100% valid.

kaligrafy avatar Feb 06 '23 15:02 kaligrafy

This is about highway=platform, so highway=footway cannot be added

Woazboat avatar Feb 06 '23 15:02 Woazboat

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.

nilsnolde avatar Feb 06 '23 16:02 nilsnolde

I agree this should be fixed anyway.

kaligrafy avatar Feb 06 '23 17:02 kaligrafy