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