[OSRM-talk] unknown access tags
Florian Lohoff
f at zz.de
Tue Jan 2 21:45:12 UTC 2024
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20240102/633fc2b9/attachment.sig>
More information about the OSRM-talk
mailing list