-
Notifications
You must be signed in to change notification settings - Fork 0
Speedprofile
The speed profile is not hardcoded in code, but can be set through an ini file. The first section of the file specifies the profile which is used. Consider the following example:
[bike]
trunk = 16
trunk_link = 16
primary = 16
primary_link = 16
secondary = 16
secondary_link = 16
tertiary = 16
unclassified = 16
residential = 16
living_street = 16
service = 16
track = 16
cycleway = 16
path = 16
ferry = 5
pier = 5
obeyPollards = no
obeyOneways = yes
useRestrictions = no
accessTag = bicycle
A list of highways is given with corresponding average speeds. Additionally, ferries and piers are also accessible. The last four options set if pollards are passable, if oneways should be treated as such and if turn restrictions should be obeyed. Note that this mostly refers to motorized vehicles. The last tag specifies the type of vehicle as used in the access tag inside the OSM data.