CalculateRouteMatrixResponse
¶
Source code in docs_src/capo_location/types/calculate_route_matrix_response.py
route_matrix
instance-attribute
¶
route_matrix: RouteMatrix
The calculated route matrix containing the results for all pairs of DeparturePositions to DestinationPositions. Each row corresponds to one entry in DeparturePositions. Each entry in the row corresponds to the route from that entry in DeparturePositions to an entry in DestinationPositions.
snapped_departure_positions
instance-attribute
¶
snapped_departure_positions: NotRequired[PositionList]
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest road. For Esri route calculator resources, this returns the list of departure/origin positions used for calculation of the RouteMatrix.
snapped_destination_positions
instance-attribute
¶
snapped_destination_positions: NotRequired[PositionList]
The list of destination positions for the route matrix used for calculation of the RouteMatrix.
summary
instance-attribute
¶
summary: CalculateRouteMatrixSummary
Contains information about the route matrix, DataSource, DistanceUnit, RouteCount and ErrorCount.