Skip to main content

Alert zones

Alert zones let you define geographic areas to limit where the local detection alerts will be triggered. Zones are defined with GeoJSON and imported in the app UI. Only Polygon and MultiPolygon features are supported.

How the app uses zones

When a detection falls inside a defined zone, the system treats that detection as being within that zone. Each zone is treated separately and you will receive alert for each of the zones (if you use overlapping zones).

Notice

Please keep in mind that the current alert zones are only local detection alerts. Defined alert zones are not synchronized with the account and works only in your browser/phone on your device.

We are working on upgrading our alert zones to be server-based and to trigger push notifications even when your app is closed.

  1. Create the GeoJSON

    • Open a GeoJSON editor such as https://geojson.io
    • Draw one or more polygons using the drawing tools (or paste coordinates directly)
    • Ensure each polygon/area is represented as a Feature and the document is a FeatureCollection
  2. Add properties

    • Add a properties object for each feature and include the name and fill keys if you want a custom label and color. Other properties are not supported. Example:

      "properties": {
      "name": "No-Fly Zone A",
      "fill": "#FF0000"
      }
    • name must be a string. fill should be a hex color string (#RRGGBB)

  3. Export / copy GeoJSON

    • Copy the entire FeatureCollection JSON from the editor (do not copy just a single geometry)
  4. Paste into the app

    • In the app go to Profile > Alerts and scroll to the bottom
    • Paste the full GeoJSON into the GeoJSON text field

The zone(s) should appear on the map.


Minimal valid example

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "No-Fly Zone A",
"fill": "#FF0000"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[14.42076, 50.08804],
[14.42176, 50.08804],
[14.42176, 50.08704],
[14.42076, 50.08704],
[14.42076, 50.08804]
]
]
}
}
]
}