LocationMeasurement

@Serializable
data class LocationMeasurement(val position: Position, val horizontalAccuracy: Length? = null, val altitudeAccuracy: Length? = null, val distancePerSecond: Length? = null, val distancePerSecondAccuracy: Length? = null, val course: Bearing? = null, val courseAccuracy: Rotation? = null, val measuredAt: Instant)(source)

One measured geographic location.

Constructors

Link copied to clipboard
constructor(position: Position, horizontalAccuracy: Length? = null, altitudeAccuracy: Length? = null, distancePerSecond: Length? = null, distancePerSecondAccuracy: Length? = null, course: Bearing? = null, courseAccuracy: Rotation? = null, measuredAt: Instant)

Properties

Link copied to clipboard

Estimated altitude error, or null when unknown or when position contains no altitude.

Link copied to clipboard

Bearing in the direction of travel, or null when the source reports no course.

Link copied to clipboard

Estimated course error, or null when unknown.

Link copied to clipboard

Distance that corresponds to one second at the reported speed, or null when the source reports no speed.

Link copied to clipboard

Estimated error in distancePerSecond, or null when the error is unknown.

Link copied to clipboard

Estimated horizontal error radius, or null when unknown.

Link copied to clipboard

Wall-clock instant when the location was measured.

Link copied to clipboard

Geographic position, with an optional altitude in meters.