[OSM-talk] Access tag abuse examples Was: Examples at https://wiki.openstreetmap.org/wiki/Key:access

Florian Lohoff f at zz.de
Sun May 24 22:36:10 UTC 2020


Hi,

On Sun, May 24, 2020 at 11:16:14PM +0200, Mateusz Konieczny via talk wrote:
> > - To use access restrictions as simple and minimal as possible.
> >
> Can you find a good example for that? I was unable to find one that
> would not be ridiculous, so despite of desire of including something
> like that I skipped it.

Found the code to extract all access restrictions in a pbf file - Just
for 4 small countys in Germany - thats what mappers produce - Top 50 in
length. Its redundant, contradicting and most of the time plain wrong.

Its 2664 different combinations and my guess is that 2400 dont match 
the signs and are even impossible to express with German signs.

Here is a nice source of your "Routing in A works but B has a very bad route".

flo at p4:~/projects/osm/wayproblems$ ./accesscombinations -i ../localosm/pbf/detmold-regbez-latest.osm.pbf  \
	| sort -u | awk '{ print length, $0 }' \
	| sort -rn | awk '{$1=""; print $0}' | head -50
 highway=unclassified access=destination vehicle=destination motor_vehicle=destination motorcycle=destination motorcar=destination hgv=destination bicycle=yes foot=yes agricultural=yes goods=destination horse=yes
 highway=unclassified access=destination vehicle=destination motor_vehicle=private motorcycle=destination motorcar=destination hgv=destination bicycle=yes foot=yes agricultural=yes goods=destination horse=yes
 highway=track access=destination vehicle=destination motor_vehicle=destination motorcycle=destination motorcar=destination hgv=destination bicycle=yes foot=yes agricultural=yes goods=destination horse=yes
 highway=track access=destination vehicle=destination motor_vehicle=destination motorcycle=destination motorcar=destination hgv=destination bicycle=yes foot=yes agricultural=destination goods=destination
 highway=service access=destination motorcycle=destination motorcar=destination hgv=destination psv=destination bicycle=yes foot=yes agricultural=yes goods=destination horse=yes
 highway=bridleway access=private motor_vehicle=no motorcycle=no motorcar=no hgv=no psv=no bicycle=no foot=private agricultural=no goods=no horse=private
 highway=service access=no vehicle=no motor_vehicle=no motorcycle=no motorcar=no hgv=no psv=no bicycle=no foot=no agricultural=no goods=no horse=no
 highway=residential access=yes motor_vehicle=no motorcycle=no motorcar=no hgv=no psv=no bicycle=yes foot=yes agricultural=no goods=no horse=yes
 highway=track access=forestry motor_vehicle=agricultural motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes agricultural=yes
 highway=track vehicle=agricultural;forestry motor_vehicle=agricultural;forestry motorcycle=yes motorcar=yes bicycle=yes foot=yes horse=yes
 highway=residential access=permissive motor_vehicle=destination motorcycle=destination motorcar=destination bicycle=yes foot=yes horse=yes
 highway=footway access=no motor_vehicle=no motorcycle=no motorcar=no hgv=no psv=no bicycle=yes foot=yes agricultural=no goods=no horse=yes
 highway=unclassified access=permissive motor_vehicle=destination motorcycle=private motorcar=private bicycle=permissive foot=yes horse=no
 highway=service access=destination motorcycle=destination motorcar=destination hgv=no psv=no bicycle=designated foot=designated goods=no
 highway=residential access=private motorcycle=private motorcar=private hgv=private psv=no bicycle=private foot=private goods=private
 highway=track access=private motor_vehicle=private motorcycle=private motorcar=private bicycle=private foot=private horse=private
 highway=track access=agricultural motor_vehicle=agricultural motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes
 highway=track access=agricultural motor_vehicle=agricultural motorcycle=destination motorcar=destination bicycle=yes foot=yes
 highway=track access=agricultural motor_vehicle=agricultural motorcycle=no motorcar=no bicycle=yes foot=yes agricultural=yes
 highway=unclassified access=destination motorcycle=destination motorcar=destination bicycle=yes foot=yes agricultural=yes
 highway=track motor_vehicle=agricultural, forestry motorcycle=forestry motorcar=forestry bicycle=yes foot=yes horse=yes
 highway=residential access=private motor_vehicle=private motorcycle=designated motorcar=designated bicycle=yes foot=yes
 highway=residential access=destination motor_vehicle=destination bicycle=destination foot=destination horse=destination
 highway=track access=agricultural motor_vehicle=agricultural motorcycle=agricultural motorcar=agricultural bicycle=yes
 highway=service motor_vehicle=destination motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes horse=yes
 highway=unclassified motor_vehicle=agricultural;forestry motorcycle=destination motorcar=destination agricultural=yes
 highway=track access=agricultural motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes agricultural=yes
 highway=track motor_vehicle=destination motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes horse=yes
 highway=track access=agricultural motorcycle=no motorcar=no hgv=no psv=no bicycle=no foot=yes goods=no horse=unknown
 highway=service access=destination motor_vehicle=no motorcycle=destination motorcar=destination bicycle=yes foot=yes
 highway=residential motor_vehicle=agricultural;forestry motorcycle=no motorcar=no bicycle=designated foot=designated
 highway=track access=destination motorcycle=destination motorcar=destination bicycle=yes foot=yes agricultural=yes
 highway=path motorcycle=destination motorcar=destination hgv=no psv=no bicycle=designated foot=designated goods=no
 highway=unclassified access=military vehicle=military motor_vehicle=permissive bicycle=permissive foot=permissive
 highway=unclassified access=military motor_vehicle=permissive bicycle=permissive foot=permissive horse=permissive
 highway=unclassified access=destination vehicle=destination;agricultural bicycle=yes foot=yes moped=yes horse=yes
 highway=track motor_vehicle=forestry motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes horse=yes
 highway=track access=destination motorcycle=destination motorcar=destination bicycle=no foot=yes agricultural=yes
 highway=track access=agricultural motor_vehicle=agricultural;forestry motorcycle=designated motorcar=agricultural
 highway=service access=destination motor_vehicle=destination motorcycle=destination motorcar=destination foot=yes
 highway=residential access=agricultural motorcycle=destination motorcar=destination bicycle=yes goods=destination
 highway=path access=forestry motor_vehicle=forestry motorcycle=no motorcar=forestry bicycle=no foot=yes horse=yes
 highway=living_street motor_vehicle=destination motorcycle=destination motorcar=destination bicycle=yes foot=yes
 highway=cycleway access=yes motor_vehicle=no motorcycle=no motorcar=no hgv=no bicycle=yes foot=official goods=no
 highway=track motor_vehicle=no motorcycle=no motorcar=no bicycle=designated foot=yes agricultural=yes horse=yes
 highway=residential access=no motor_vehicle=destination motorcycle=destination motorcar=destination bicycle=yes
 highway=track vehicle=agricultural;forestry motor_vehicle=agricultural;forestry bicycle=yes foot=yes horse=yes
 highway=track access=agricultural motorcycle=agricultural motorcar=agricultural bicycle=yes foot=yes horse=yes
 highway=service access=permissive motor_vehicle=permissive bicycle=permissive foot=permissive horse=permissive
 highway=residential motor_vehicle=destination motorcycle=destination motorcar=destination bicycle=yes foot=yes
-- 
Florian Lohoff                                                 f at zz.de
        UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
-------------- 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/talk/attachments/20200525/4769803e/attachment.sig>


More information about the talk mailing list