<div dir="ltr">Hello Ika-chan,<div><br></div><div>I was able to allow pedestrians onto more types of roads by adding those tags under " speeds = Sequence { .. }" list in foot.lua:</div><div><br></div><div><font face="monospace" style="background-color:rgb(255,242,204)">    speeds = Sequence {<br>      highway = {<br>        primary         = walking_speed,<br>        primary_link    = walking_speed,<br>        secondary       = walking_speed,<br>        secondary_link  = walking_speed,<br>        tertiary        = walking_speed,<br>        tertiary_link   = walking_speed,<br>        unclassified    = walking_speed,<br>        residential     = walking_speed,<br>        road            = walking_speed,<br>        living_street   = walking_speed,<br>        service         = walking_speed,<br>        track           = walking_speed,<br>        path            = walking_speed,<br>        steps           = walking_speed,<br>        pedestrian      = walking_speed,<br>        footway         = walking_speed,<br>        pier            = walking_speed,<br>        -- adding trunk .. YES IT WORKED<br>        trunk           = walking_speed,<br>        trunk_link      = walking_speed,<br>        motorway        = walking_speed,<br>      },</font></div><div><br></div><div>comment is optional ;)</div><div>I had to add motorway also in my case.</div><div><br></div><div>I'm guessing in bicycle.lua also you can add additional tags under bicycle_speeds or so. I haven't tried that yet, this foot.lua intervention I've tried and confirmed that it works. I can understand why it may not be suitable worldwide, but in my limited use case I had to allow access.</div><div><br><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>--<br>Cheers,<br>Nikhil VJ<br><a href="https://nikhilvj.co.in" target="_blank">https://nikhilvj.co.in</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 25, 2021 at 12:18 PM Daniel Patterson via OSRM-talk <<a href="mailto:osrm-talk@openstreetmap.org">osrm-talk@openstreetmap.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The missing piece is OSRM following the guidelines outlined here:  <a href="https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions" target="_blank">https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions</a></div><div><br></div><div>Practically, here's what needs to happen:<br></div><div><br></div><div>  1. Someone needs to make a GeoJSON file with these country boundaries, and set properties on them that describe the access defaults.<br></div><div>  2. Use the `--location-dependent-data` flag to `osrm-extract` so the properties are available to the Lua scripts setting access rules</div><div>  3. Update the Lua scripts to know what to do when the location-dependent properties are present.</div><div><br></div><div>I have enough time to write this down as a guideline for someone, but not enough spare time to actually go ahead and do it :-/</div><div><br></div><div>daniel<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 1:15 PM ika-chan! <<a href="mailto:mapper%2Bdev@minoa.li" target="_blank">mapper+dev@minoa.li</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Last week, VictorIE and I came into conflict about the use of <br>
"access=yes" on trunk roads ("highway=trunk" and "highway=trunk_link") <br>
in the Republic of Ireland <br>
(<a href="https://www.openstreetmap.org/changeset/93624048" rel="noreferrer" target="_blank">https://www.openstreetmap.org/changeset/93624048</a>).<br>
<br>
In the Republic of Ireland, Greece, and the United Kingdom, trunk roads <br>
are all-purpose roads that all users can legally use, unless <br>
specifically prohibited (with the use of the tags "motorroad=yes" or <br>
"foot=no", etc.): in Greece, "highway=trunk" means an all-purpose <br>
National Road on an E-Road network <br>
(<a href="https://wiki.openstreetmap.org/wiki/Greece#Highways_in_Greece" rel="noreferrer" target="_blank">https://wiki.openstreetmap.org/wiki/Greece#Highways_in_Greece</a>).<br>
<br>
VictorIE believes that it is currently necessary to use "access=yes" on <br>
trunk roads, because your router does not allow pedestrian and bicycle <br>
journeys to use trunk roads, even though it is legal to do so <br>
(<a href="https://www.openstreetmap.org/directions?engine=fossgis_osrm_foot&route=51.98803%2C-7.74369%3B51.98943%2C-7.74110" rel="noreferrer" target="_blank">https://www.openstreetmap.org/directions?engine=fossgis_osrm_foot&route=51.98803%2C-7.74369%3B51.98943%2C-7.74110</a>). <br>
My belief is that using "access=yes" on trunk roads in IE, GR and GB is <br>
redundant, and my belief appears to be backed by Osmose <br>
(<a href="http://osmose.openstreetmap.fr/en/map/#zoom=12&lat=53.2952&lon=-6.4592&item=3220&level=1%2C2%2C3" rel="noreferrer" target="_blank">http://osmose.openstreetmap.fr/en/map/#zoom=12&lat=53.2952&lon=-6.4592&item=3220&level=1%2C2%2C3</a>). <br>
<br>
<br>
Therefore, I have to write to ask you if you can find a way to update <br>
the router so that pedestrian and bicycle journeys can use trunk roads <br>
in Republic of Ireland, Greece and the United Kingdom. If OSRM can <br>
already recognise left- and right-hand traffic, I do not think that the <br>
updates will be too hard.<br>
<br>
Best,<br>
<br>
-- ika-chan!<br>
<br>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>