/AWS1/CL_LOCSTEP¶
Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
it_startposition TYPE /AWS1/CL_LOCPOSITION_W=>TT_POSITION TT_POSITION¶
The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.
it_endposition TYPE /AWS1/CL_LOCPOSITION_W=>TT_POSITION TT_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.
iv_distance TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The travel distance between the step's
StartPositionandEndPosition.
iv_durationseconds TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The estimated travel time, in seconds, from the step's
StartPositionto theEndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.
Optional arguments:¶
iv_geometryoffset TYPE /AWS1/LOCINTEGER /AWS1/LOCINTEGER¶
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
IncludeLegGeometrytoTrue.
Queryable Attributes¶
StartPosition¶
The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTPOSITION() |
Getter for STARTPOSITION, with configurable default |
ASK_STARTPOSITION() |
Getter for STARTPOSITION w/ exceptions if field has no value |
HAS_STARTPOSITION() |
Determine if STARTPOSITION has a value |
EndPosition¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDPOSITION() |
Getter for ENDPOSITION, with configurable default |
ASK_ENDPOSITION() |
Getter for ENDPOSITION w/ exceptions if field has no value |
HAS_ENDPOSITION() |
Determine if ENDPOSITION has a value |
Distance¶
The travel distance between the step's
StartPositionandEndPosition.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DISTANCE() |
Getter for DISTANCE, with configurable default |
ASK_DISTANCE() |
Getter for DISTANCE w/ exceptions if field has no value |
STR_DISTANCE() |
String format for DISTANCE, with configurable default |
HAS_DISTANCE() |
Determine if DISTANCE has a value |
DurationSeconds¶
The estimated travel time, in seconds, from the step's
StartPositionto theEndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DURATIONSECONDS() |
Getter for DURATIONSECONDS, with configurable default |
ASK_DURATIONSECONDS() |
Getter for DURATIONSECONDS w/ exceptions if field has no val |
STR_DURATIONSECONDS() |
String format for DURATIONSECONDS, with configurable default |
HAS_DURATIONSECONDS() |
Determine if DURATIONSECONDS has a value |
GeometryOffset¶
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
IncludeLegGeometrytoTrue.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GEOMETRYOFFSET() |
Getter for GEOMETRYOFFSET, with configurable default |
ASK_GEOMETRYOFFSET() |
Getter for GEOMETRYOFFSET w/ exceptions if field has no valu |
HAS_GEOMETRYOFFSET() |
Determine if GEOMETRYOFFSET has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_STEPLIST¶
TYPES TT_STEPLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LOCSTEP WITH DEFAULT KEY
.