Calculate routes between geographic locations.
More...
|
| bool | is_available (self) |
| | Return whether route calculation is available.
|
| str|None | status_message (self) |
| | Return an availability or error message, if applicable.
|
| RouteResult | calculate_route (self, RouteRequest request) |
| | Calculate and return a route.
|
Calculate routes between geographic locations.
◆ calculate_route()
| RouteResult route_planning.routing_controller_if.RoutingControllerIf.calculate_route |
( |
| self, |
|
|
RouteRequest | request ) |
Calculate and return a route.
- Parameters
-
| request | Origin, destination, and travel mode. |
- Returns
- Calculated route.
◆ is_available()
| bool route_planning.routing_controller_if.RoutingControllerIf.is_available |
( |
| self | ) |
|
Return whether route calculation is available.
- Return values
-
| True | Route calculation is available. |
| False | Route calculation is unavailable. |
◆ status_message()
| str | None route_planning.routing_controller_if.RoutingControllerIf.status_message |
( |
| self | ) |
|
Return an availability or error message, if applicable.
- Returns
- Human-readable status, or None when no message applies.
The documentation for this class was generated from the following file:
- controllers/route_planning/routing_controller_if.py