/AWS1/CL_LOCCALCULATEROUTEMA02¶
A summary of the calculated route matrix.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_datasource TYPE /AWS1/LOCSTRING /AWS1/LOCSTRING¶
The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:
Esri
Grab
HereFor more information about data providers, see Amazon Location Service data providers.
iv_routecount TYPE /AWS1/LOCINTEGER /AWS1/LOCINTEGER¶
The count of cells in the route matrix. Equal to the number of
DeparturePositionsmultiplied by the number ofDestinationPositions.
iv_errorcount TYPE /AWS1/LOCINTEGER /AWS1/LOCINTEGER¶
The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
iv_distanceunit TYPE /AWS1/LOCDISTANCEUNIT /AWS1/LOCDISTANCEUNIT¶
The unit of measurement for route distances.
Queryable Attributes¶
DataSource¶
The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:
Esri
Grab
HereFor more information about data providers, see Amazon Location Service data providers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATASOURCE() |
Getter for DATASOURCE, with configurable default |
ASK_DATASOURCE() |
Getter for DATASOURCE w/ exceptions if field has no value |
HAS_DATASOURCE() |
Determine if DATASOURCE has a value |
RouteCount¶
The count of cells in the route matrix. Equal to the number of
DeparturePositionsmultiplied by the number ofDestinationPositions.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ROUTECOUNT() |
Getter for ROUTECOUNT, with configurable default |
ASK_ROUTECOUNT() |
Getter for ROUTECOUNT w/ exceptions if field has no value |
HAS_ROUTECOUNT() |
Determine if ROUTECOUNT has a value |
ErrorCount¶
The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ERRORCOUNT() |
Getter for ERRORCOUNT, with configurable default |
ASK_ERRORCOUNT() |
Getter for ERRORCOUNT w/ exceptions if field has no value |
HAS_ERRORCOUNT() |
Determine if ERRORCOUNT has a value |
DistanceUnit¶
The unit of measurement for route distances.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DISTANCEUNIT() |
Getter for DISTANCEUNIT, with configurable default |
ASK_DISTANCEUNIT() |
Getter for DISTANCEUNIT w/ exceptions if field has no value |
HAS_DISTANCEUNIT() |
Determine if DISTANCEUNIT has a value |