[OSRM-talk] how to block subway routes to foot profile?

Daniel Patterson daniel at mapbox.com
Mon Jun 18 15:34:39 UTC 2018


Hi Patrick,

  In order to exclude them from matching, you'll need a way to identify
them via the OSM tags.  If you can figure out the tags that are on these
ways and not others, you can add some logic to `profiles/foot.lua` to
remove them from the routing graph.  If they're removed, then won't be
matched on.

daniel

On Mon, Jun 18, 2018 at 7:55 AM Patrick Agin <agin.patrick at gmail.com> wrote:

> Hi,
> I noticed that some routes returned by match service (for foot profile)
> are subway routes. How to prohibit these solutions?
> Thanks
> Patrick
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20180618/51689060/attachment.html>


More information about the OSRM-talk mailing list