Skip to content

/AWS1/CL_LOCBTCPUTGEOFENCERE00

Contains geofence geometry details.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_geofenceid TYPE /AWS1/LOCID /AWS1/LOCID

The identifier for the geofence to be stored in a given geofence collection.

io_geometry TYPE REF TO /AWS1/CL_LOCGEOFENCEGEOMETRY /AWS1/CL_LOCGEOFENCEGEOMETRY

Contains the details to specify the position of the geofence. Can be a circle, a polygon, or a multipolygon. Polygon and MultiPolygon geometries can be defined using their respective parameters, or encoded in Geobuf format using the Geobuf parameter. Including multiple geometry types in the same request will return a validation error.

The geofence Polygon and MultiPolygon formats support a maximum of 1,000 total vertices. The Geobuf format supports a maximum of 100,000 vertices.

Optional arguments:

it_geofenceproperties TYPE /AWS1/CL_LOCPROPERTYMAP_W=>TT_PROPERTYMAP TT_PROPERTYMAP

Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

Format: "key" : "value"


Queryable Attributes

GeofenceId

The identifier for the geofence to be stored in a given geofence collection.

Accessible with the following methods

Method Description
GET_GEOFENCEID() Getter for GEOFENCEID, with configurable default
ASK_GEOFENCEID() Getter for GEOFENCEID w/ exceptions if field has no value
HAS_GEOFENCEID() Determine if GEOFENCEID has a value

Geometry

Contains the details to specify the position of the geofence. Can be a circle, a polygon, or a multipolygon. Polygon and MultiPolygon geometries can be defined using their respective parameters, or encoded in Geobuf format using the Geobuf parameter. Including multiple geometry types in the same request will return a validation error.

The geofence Polygon and MultiPolygon formats support a maximum of 1,000 total vertices. The Geobuf format supports a maximum of 100,000 vertices.

Accessible with the following methods

Method Description
GET_GEOMETRY() Getter for GEOMETRY

GeofenceProperties

Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

Format: "key" : "value"

Accessible with the following methods

Method Description
GET_GEOFENCEPROPERTIES() Getter for GEOFENCEPROPERTIES, with configurable default
ASK_GEOFENCEPROPERTIES() Getter for GEOFENCEPROPERTIES w/ exceptions if field has no
HAS_GEOFENCEPROPERTIES() Determine if GEOFENCEPROPERTIES 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_BTCPUTGEOFENCEREQENTRYLIST

TYPES TT_BTCPUTGEOFENCEREQENTRYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LOCBTCPUTGEOFENCERE00 WITH DEFAULT KEY
.