[OSRM-talk] how to block subway routes to foot profile?
agin.patrick at gmail.com
Mon Jun 18 15:57:45 UTC 2018
I find it difficult to understand the logic behind a particular profile and
the documentation is not extensive. Could you tell me where I should add
the logic to remove subway from the routing graph? I see defined in
foot.lua *access_tag_blacklist*, *restricted_access_tag_list*,
*service_access_tag_blacklist*, *restrictions* and *avoid* variables and I
don't know where to add my particular restriction.
Le lun. 18 juin 2018 à 11:36, Daniel Patterson <daniel at mapbox.com> a écrit :
> 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.
> On Mon, Jun 18, 2018 at 7:55 AM Patrick Agin <agin.patrick at gmail.com>
>> I noticed that some routes returned by match service (for foot profile)
>> are subway routes. How to prohibit these solutions?
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OSRM-talk