Skip to content

GeofenceEvent

About geofence events

A geofence event is a point-in-time representation of an interaction between a track and a geofence. The event represents the track either entering, leaving, or remaining within the geofence.

id

The unique identifier of the geofence event.

Type: ID!

geofence

The geofence indicated by the event.

Type: Geofence!

track

The track indicated by the event.

Type: Track!

tag

The class label of the object that triggered the geofence event, i.e person, car, truck, etc.

Type: String!

type

The type of geofence event, i.e ingress (an object entered the geofence), dwell (an object remained in the geofence), and egress. (an object exited the geofence)

Type: ActivityType!

position

The GeoJSON point for the position of the track at the time of the geofence event.

Type: GeoJSONPoint!

timestamp

The timestamp at which the event occurred.

Type: DateTimeOffset!

metadata

Any additional information about the event will be stored here.

Type: JSON