Browse developer docs

Scouting Drones

Find inspection flights, survey jobs, and original photos for mapping or crop review.

Integration workflow

Create an imagery intake queue. Watch authorized survey jobs for a completed deliverable, capture the task and imagery references, and send approved datasets to your mapping pipeline.

  1. Find survey or inspection
  2. Work ID + work typeList original photos
  3. Review image metadataIntake into GIS
Example imagery intake based on the documented inspection, survey, and photo services.

Compatibility. Designed for XAG M-series aircraft. Confirm the account, aircraft, mapping service and download support for your region. The inspection and aerial-survey status schemes are different.

List aerial-survey jobs

POST /open/service

serviceName=aerial-task

Survey date filters, when supplied, are milliseconds. Review the original documentation for the survey status codes, coverage geometry and deliverables.

Set XAG_APP_UID and XAG_APP_SECRET in your server environment. Substitute the sample IDs with authorized values.

Request
# Requires curl 7.87+, Python 3 and OpenSSL.
: "${XAG_APP_UID:?Set XAG_APP_UID}"
: "${XAG_APP_SECRET:?Set XAG_APP_SECRET}"
timestamp=$(python3 -c 'import time; print(time.time_ns() // 1000000)')
token=$(printf "%s" "$XAG_APP_UID$timestamp$XAG_APP_SECRET" | openssl dgst -sha1 -r | cut -d " " -f 1)

curl --silent --show-error --fail-with-body --max-time 30 --request POST \
  'https://open.xa.com/open/service' \
  --url-query 'serviceName=aerial-task' \
  --url-query "appUid=$XAG_APP_UID" \
  --url-query "timestamp=$timestamp" \
  --url-query "token=$token" \
  --header 'Content-Type: application/json' \
  --data '{
  "uavsn": "YOUR_SCOUTING_DRONE_SN",
  "pageNo": 1
}'
Illustrative response
{
  "status": 200,
  "data": {
    "page": {
      "total": 1,
      "pageNo": 1
    },
    "tasks": [
      {
        "name": "Example survey",
        "area": 60000
      }
    ]
  }
}

Review request signing

Service reference

All services use /open/service with the common signed query parameters. Additional fields are listed below. Open an operation for its parameters, examples and response notes.

Required service parameters
uavsn

Optional type includes auto, manual and favoritePoint. Flight time filters are in milliseconds. Extent is a WKT polygon.

View operation

Required service parameters
uavsn, workUuid, workType

workType is flyins or aerial. Follow the marker cursor for additional pages.

View operation

Submit an aerial-survey task

POSTaerial-task-create

Changes state

Required service parameters
uavsn, user_guid, name, planning_type, inputs for selected plan

Survey boundaries and point-of-interest plans use different inputs. Confirm planning type, geometry and units, and use an operator review step before submission.

View operation
Location
Richmond Hill, Ontario, Canada