osm-ToniE / ptna

Public Transport Network Analysis for OSM
GNU General Public License v3.0
19 stars 5 forks source link

enhance '--check-access' to check for artefacts like "construction="x" for "x" != "no" #80

Closed osm-ToniE closed 4 years ago

osm-ToniE commented 4 years ago

Besides checking for highway=construction, check afor artefacts, where someone has fixe highway=* and forgot to remove construction=x

Examples for 'notes': highway= + construction = no --> OK highway=motorway + construction != no --> suspicious? highway=motorway + construction != no --> suspicious? highway=motorway + construction != no --> suspicious? highway=motorway + construction != no --> suspicious? highway=primary + construction != no --> suspicious? highway=residential + construction != no--> suspicious? highway=seconday + construction != no --> suspicious? highway=tertiary + construction != no --> suspicious? highway=trunk + construction != no --> suspicious? highway=unclassified + construction != no --> suspicious? highway=service + construction != no --> suspicious? ... can we use that for all highway= ?

NOTE: Route: suspicious 'construction' = '%s' on 'highway' = '%s': %s

See discussion (german) on:

https://forum.openstreetmap.org/viewtopic.php?id=67564 https://forum.openstreetmap.org/viewtopic.php?pid=765201#p765201

osm-ToniE commented 4 years ago

construction=minor construction=widening construction=no

are allowed settings which shall not be reported