Entur Developer
Open
GraphQL

TriangleFactors

input

How much the factors safety, slope and distance are weighted relative to each other when routing bicycle legs. In total all three values need to add up to 1.

Fields

safety·Float!

How important is bicycle safety expressed as a fraction of 1.

slope·Float!

How important is slope/elevation expressed as a fraction of 1.

time·Float!

How important is time expressed as a fraction of 1. Note that what this really optimises for is distance (even if that means going over terrible surfaces, so I might be slower than the safe route).

Did you find what you were looking for?