Step
¶
Source code in docs_src/capo_location/types/step.py
distance
instance-attribute
¶
distance: SensitiveDouble
The travel distance between the step's StartPosition and EndPosition.
duration_seconds
instance-attribute
¶
duration_seconds: SensitiveDouble
The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.
end_position
instance-attribute
¶
end_position: Position
The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.
geometry_offset
instance-attribute
¶
geometry_offset: NotRequired[int]
Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.
Included in the response for queries that set IncludeLegGeometry to True.