Location & Trip Records

Each item in the locations array of a request is a GeoJSON Feature: a point the phone recorded, or a record of a trip that just ended.

Location properties

The properties on the location objects are as follows:

timestamp
The ISO8601 timestamp of the CLLocation object recorded
altitude
The altitude of the location in meters
speed
Meters per second
course
Direction of travel in degrees
horizontal_accuracy
Accuracy of the position in meters
vertical_accuracy
Accuracy of the altitude in meters
speed_accuracy
Accuracy of the speed in meters per second, or -1 if speed is unknown
course_accuracy
Accuracy of the course in degrees, or -1 if speed is unknown
motion
An array of motion states detected by the motion coprocessor. Possible values are: driving, walking, running, cycling, stationary. A common combination is driving and stationary when the phone is resting on the dashboard of a moving car.
pressure
Barometric pressure in kPa, to the nearest pascal. The barometer can tell changes of well under one floor apart, so you can use it to see when the phone went up or down stairs, or underground. Like motion, this needs Motion & Fitness access. It's left out on phones without a barometer, and when there was no reading within 30 seconds of the point, such as for a point recorded when the app was woken up by a significant location change. In the Owntracks format this is sent as p.
absolute_altitude, absolute_altitude_accuracy
The altitude in meters from the phone's barometer combined with GPS, and its accuracy in meters. It's included under the same conditions as pressure, on phones that support it.
battery_state
unknown, charging, full, unplugged
battery_level
A value from 0 to 1 indicating the percent battery remaining
wifi
If the device is connected to a wifi hotspot, the name of the SSID will be included
wifi_bssid
If the device is connected to a wifi hotspot, the address (BSSID) of the access point, such as 3c:22:fb:1a:00:11, or an empty string. Like wifi, this needs Precise Location access.
device_id
The device ID configured in the settings, or an empty string
unique_id
If "Unique ID" is enabled, the device's Unique ID as set by Apple

During a trip

The following properties are included only while a trip is in progress:

trip_id
The ISO8601 timestamp of when the trip started, which is the same for every point in the trip
trip_mode

The server value of the trip mode when this point was recorded. By default this is the mode's ID, or the ID of a mode the user added, such as kayak, but the user can change it in Trip Modes. If the mode is changed during a trip, later points have the new mode. The built-in modes' IDs are:

walk run hike bicycle ebike scooter skate ski snowboard sleigh car taxi bus tram metro train monorail gondola funicular boat plane

Tracking stats

The following properties are included only if the "Include Tracking Stats" option is selected:

pauses
Boolean, whether the "pause updates automatically" preference is checked
activity
A string denoting the type of activity as indicated by the setting. Possible values are automotive_navigation, fitness, other_navigation, airborne, maritime and other. This can be set on the settings screen.
desired_accuracy
The requested accuracy in meters as configured on the settings screen
deferred
The distance in meters to defer location updates, configured on the settings screen
significant_change
A string indicating the significant change mode, disabled, enabled or exclusive
locations_in_payload
The number of locations that were sent in the batch along with this location

Trip records

When a trip ends, a trip record is added to the locations array along with the points. It's a GeoJSON Feature at the trip's last location, and its properties include "type": "trip", the trip's mode (the mode's server value), start and end (ISO8601), duration (seconds), distance (meters), start_location and end_location (location Features), steps, floors_ascended and floors_descended (on phones that count floors, with Motion & Fitness access), and stopped_automatically, along with the same device properties as a location, such as battery_level and wifi.

A trip ended from the "stopped" notification ends at the time the phone stopped, so its end can be earlier than when the record was sent. Points recorded between the stop and when the trip was ended still have trip_id and trip_mode, since they were recorded during the trip.

The trip record also has the mode's icon, so you can show it the way the app does:

icon
For the built-in modes, and any mode using one of Overland's own icons: the icon as an SVG data URI, such as data:image/svg+xml;base64,PHN2Zy..., which you can use as an image's src. It's a single black path in a square viewBox, so you can recolor it with CSS (for example as a mask-image). These are about 0.5 to 1.6 KB.
sf_symbol
For a mode the user gave an SF Symbol: the symbol's name, such as figure.kayaking. SF Symbols' license doesn't allow sending the image itself, so map the name to an icon of your own.