Dear all, I'm developing an R package named osmextract to import OSM data using OSM extracts that are stored by external providers (such as Geofabrik). I'm trying to code a new function that can be used to import a set of ways representing a spatial network according to a specific mode of transport (i.e. walking, cycling, or driving) and I was wondering if there are official guidelines on how to select those roads. For example, if I'd like to import a set of ways according to a cycling mode of transport, I would exclude highway = motorway or highway = footway, but I was wondering if there are official and standardised guidelines. Thanks for your help. |
In addition to what H_mlet shared you should probably also have a look around what other routing engines assume. Some things are not so obvious. For example cyclists could still use footways/stairs if they push the bike. Or you might want to disregard the tagged access restriction if an official bike/walking route is following a path. Or you want to make the routabilitiy dependent on the surface. |