<div dir="ltr">It sort of depends on your use case, both ways will produce incorrect inferences, but it is a reasonable thing to do. You can see the full list of values people have used here: <a href="https://taginfo.openstreetmap.org/keys/access#values">https://taginfo.openstreetmap.org/keys/access#values</a> - for such a common tag there are many many things that are spelling mistakes or other junk. It really depends on the relative value of false positives and false negatives for you.<div><br></div><div>R</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Jan 2024 at 21:48, Florian Lohoff <<a href="mailto:f@zz.de">f@zz.de</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"><br>
Hi,<br>
i stumbled upon a vehicle=delivery;private which caused the OSRM default<br>
profile to allow any traffic on that road (Access to a motorway service<br>
area) which is obviously broken.<br>
<br>
I think i understand the code and the issue is that <br>
<br>
a) OSRMs car profile does not understand ";" in access tag values<br>
b) Interprets unknown values as - "Seems to be fine to use it"<br>
<br>
So fixing a) would be one of the most obvious thing to do,<br>
i am just playing with code on this issue.<br>
<br>
But i think about b) - As i'd rather interpret unknown values as<br>
inaccessible as there are (without additional knowledge) only 2 values<br>
which are fine - thats "yes" and "permissive" - Everything else is<br>
either restricted or inaccessible.<br>
<br>
So having a positivelist for access tags (yes + permissive), and a<br>
restricted positive list (stuff like destination, permit, private,<br>
customer, hgv etc) would be the way.<br>
<br>
Every "vehicle=foobar" would then produce fallout and make the road<br>
inaccessible. So mappers inventing new access tag values would<br>
get whatever they intendet.<br>
<br>
Thoughts?<br>
<br>
Flo<br>
-- <br>
Florian Lohoff <a href="mailto:f@zz.de" target="_blank">f@zz.de</a><br>
Any sufficiently advanced technology is indistinguishable from magic.<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>