/AWS1/CL_GERROUTELEG¶
A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
io_geometry TYPE REF TO /AWS1/CL_GERROUTELEGGEOMETRY /AWS1/CL_GERROUTELEGGEOMETRY¶
Geometry of the area to be avoided.
iv_travelmode TYPE /AWS1/GERROUTELEGTRAVELMODE /AWS1/GERROUTELEGTRAVELMODE¶
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Default value:
Car
iv_type TYPE /AWS1/GERROUTELEGTYPE /AWS1/GERROUTELEGTYPE¶
Type of the leg.
Optional arguments:¶
io_ferrylegdetails TYPE REF TO /AWS1/CL_GERROUTEFERRYLEGDETS /AWS1/CL_GERROUTEFERRYLEGDETS¶
FerryLegDetails is populated when the Leg type is Ferry, and provides additional information that is specific to ferry travel. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.
iv_language TYPE /AWS1/GERLANGUAGETAG /AWS1/GERLANGUAGETAG¶
List of languages for instructions within steps in the response. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.
io_pedestrianlegdetails TYPE REF TO /AWS1/CL_GERROUTEPEDESTRIANL00 /AWS1/CL_GERROUTEPEDESTRIANL00¶
Details related to the pedestrian leg.
io_vehiclelegdetails TYPE REF TO /AWS1/CL_GERROUTEVEHICLELEGD00 /AWS1/CL_GERROUTEVEHICLELEGD00¶
Details related to the vehicle leg.
Queryable Attributes¶
FerryLegDetails¶
FerryLegDetails is populated when the Leg type is Ferry, and provides additional information that is specific to ferry travel. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FERRYLEGDETAILS() |
Getter for FERRYLEGDETAILS |
Geometry¶
Geometry of the area to be avoided.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GEOMETRY() |
Getter for GEOMETRY |
Language¶
List of languages for instructions within steps in the response. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LANGUAGE() |
Getter for LANGUAGE, with configurable default |
ASK_LANGUAGE() |
Getter for LANGUAGE w/ exceptions if field has no value |
HAS_LANGUAGE() |
Determine if LANGUAGE has a value |
PedestrianLegDetails¶
Details related to the pedestrian leg.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PEDESTRIANLEGDETAILS() |
Getter for PEDESTRIANLEGDETAILS |
TravelMode¶
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Default value:
Car
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRAVELMODE() |
Getter for TRAVELMODE, with configurable default |
ASK_TRAVELMODE() |
Getter for TRAVELMODE w/ exceptions if field has no value |
HAS_TRAVELMODE() |
Determine if TRAVELMODE has a value |
Type¶
Type of the leg.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
VehicleLegDetails¶
Details related to the vehicle leg.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VEHICLELEGDETAILS() |
Getter for VEHICLELEGDETAILS |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ROUTELEGLIST¶
TYPES TT_ROUTELEGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GERROUTELEG WITH DEFAULT KEY
.