ScooterOptimizationType Enum
Predefined optimization alternatives for scooter 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 safest for scooters, even more than with the SAFE_STREETS
option.
Safety can also include other concerns such as convenience and general preferences by taking
into account road surface etc. Note, currently the same criteria is used both for cycling and
scooter travel to determine how safe streets are for cycling or scooter.
This option was previously called GREENWAYS
.
SAFE_STREETS
Emphasize scooter safety over flatness or duration of the route. Safety can also include other
concerns such as convenience and general preferences by taking into account road surface etc.
Note, currently the same criteria is used both for cycling and scooter travel to determine how
safe streets are for cycling or scooter. This option was previously called SAFE
.
SHORTEST_DURATION
Search for routes with the shortest duration while ignoring the scooter safety
of the streets. The routes should still follow local regulations, but currently scooters
are only allowed on the same streets as bicycles which might not be accurate for each country
or with different types of scooters. Routes can include steep streets, if they are
the fastest alternatives. This option was previously called QUICK
.
ScooterOptimizationInput