Hi I wanted to know if there is a detailed explanation of the attributes “detourfactor” and “percentage” that can be requested via the directions API. I didn’t find anything in the api-doc or on the github response documentation on this topic.
I get their generic idea, but to really display them to a user with a reasonable explanation I lack details:
- Is percentage the spatial percentage or the temporal percentage? Or something in between like “perceived percentage”?
- Is a big detourfactor meaning that there exists a lot shorter route? Is it tightly coupled to the routing preference chosen (i.e. fastest-recommended-shortest). Is shortest guaranteed to mean a detourfactor of zero? Is that factor to be interpreted linearly, if yes what would a value of 0.5 in the middle mean? How would you explain that value to a end user?