Magidoc

CyclingOptimizationType
Enum

Predefined optimization alternatives for bicycling routing. For more customization, one can use the triangle factors.

Possible Values

#

FLAT_STREETS

Emphasize flatness over safety or duration of the route. This option was previously called FLAT .

SAFEST_STREETS

Completely ignore the elevation differences and prefer the streets, that are evaluated to be the safest, even more than with the SAFE_STREETS option. Safety can also include other concerns such as convenience and general cyclist preferences by taking into account road surface etc. This option was previously called GREENWAYS .

SAFE_STREETS

Emphasize cycling safety over flatness or duration of the route. Safety can also include other concerns such as convenience and general cyclist preferences by taking into account road surface etc. This option was previously called SAFE .

SHORTEST_DURATION

Search for routes with the shortest duration while ignoring the cycling safety of the streets (the routes should still follow local regulations). Routes can include steep streets, if they are the fastest alternatives. This option was previously called QUICK .