[OSRM-talk] unknown access tags

Roland Swingler roland at beeline.co
Wed Jan 3 09:31:00 UTC 2024


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:
https://taginfo.openstreetmap.org/keys/access#values - 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.

R

On Tue, 2 Jan 2024 at 21:48, Florian Lohoff <f at zz.de> wrote:

>
> Hi,
> i stumbled upon a vehicle=delivery;private which caused the OSRM default
> profile to allow any traffic on that road (Access to a motorway service
> area) which is obviously broken.
>
> I think i understand the code and the issue is that
>
> a) OSRMs car profile does not understand ";" in access tag values
> b) Interprets unknown values as - "Seems to be fine to use it"
>
> So fixing a) would be one of the most obvious thing to do,
> i am just playing with code on this issue.
>
> But i think about b) - As i'd rather interpret unknown values as
> inaccessible as there are (without additional knowledge) only 2 values
> which are fine - thats "yes" and "permissive" - Everything else is
> either restricted or inaccessible.
>
> So having a positivelist for access tags (yes + permissive), and a
> restricted positive list (stuff like destination, permit, private,
> customer, hgv etc) would be the way.
>
> Every "vehicle=foobar" would then produce fallout and make the road
> inaccessible. So mappers inventing new access tag values would
> get whatever they intendet.
>
> Thoughts?
>
> Flo
> --
> Florian Lohoff                                                     f at zz.de
>   Any sufficiently advanced technology is indistinguishable from magic.
> _______________________________________________
> 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/20240103/43af02e1/attachment.htm>


More information about the OSRM-talk mailing list