@cercalia/sdk
    Preparing search index...

    Interface GeofenceMatch

    Match result for a geofence shape that contains points

    interface GeofenceMatch {
        pointsInside: { coord: Coordinate; id: string }[];
        shapeId: string;
        shapeWkt: string;
    }
    Index

    Properties

    pointsInside: { coord: Coordinate; id: string }[]

    Points that are inside this shape

    Type Declaration

    • coord: Coordinate

      Point coordinates (as returned by API, may differ slightly due to projection)

    • id: string

      Point identifier

    shapeId: string

    Unique identifier of the shape (from GeofenceShape.id)

    shapeWkt: string

    WKT representation of the shape