Skip to content

/AWS1/CL_LOCSRCHFORPOSITIONRS

Contains a search result from a position search query that is run on a place index resource.

CONSTRUCTOR

IMPORTING

Required arguments:

IO_PLACE TYPE REF TO /AWS1/CL_LOCPLACE /AWS1/CL_LOCPLACE

Details about the search result, such as its address and position.

IV_DISTANCE TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The distance in meters of a great-circle arc between the query position and the result.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

Optional arguments:

IV_PLACEID TYPE /AWS1/LOCPLACEID /AWS1/LOCPLACEID

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.


Queryable Attributes

Place

Details about the search result, such as its address and position.

Accessible with the following methods

Method Description
GET_PLACE() Getter for PLACE

Distance

The distance in meters of a great-circle arc between the query position and the result.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

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

PlaceId

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

Accessible with the following methods

Method Description
GET_PLACEID() Getter for PLACEID, with configurable default
ASK_PLACEID() Getter for PLACEID w/ exceptions if field has no value
HAS_PLACEID() Determine if PLACEID 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_SEARCHFORPOSITIONRESULTLIST

TYPES TT_SEARCHFORPOSITIONRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LOCSRCHFORPOSITIONRS WITH DEFAULT KEY
.