ru.dgis.sdk.positioning.Location | Android SDK | Urbi Documentation
Android SDK

Location

Geoposition.

Location(
	coordinates: LocationCoordinates,
	altitude: LocationFuzzyDouble?,
	course: LocationCourse?,
	groundSpeed: LocationFuzzyDouble?,
	source: String,
	timestamp: Duration
)

Geoposition.

Parameters
Properties

coordinates::value - coordinates of the geoposition. coordinates::accuracy - horizontal accuracy of the geoposition coordinates (DRMS), m. https://en.wikipedia.org/wiki/Circular_error_probable Value range: >= 0.

altitude::value - height above the WGS84 reference ellipsoid, m. altitude::accuracy - standard deviation of the measurement error of the height, m. null means that the platform does not provide this field. https://en.wikipedia.org/wiki/Standard_deviation Value range: (null, > 0).

course::value - course angle (direction of movement along the Earth's surface). The angle is measured relative to geographic north). course::accuracy - standard deviation of the measurement error of the course angle. null means that the platform does not provide this field. https://en.wikipedia.org/wiki/Standard_deviation Value range: (null, > 0).

ground_speed - speed of movement along the Earth's surface, m/s. Value range: >= 0. ground_speed::accuracy - root-mean-square deviation of the measurement error of the speed, m/s. null means that the platform does not provide this field. https://en.wikipedia.org/wiki/Rayleigh_distribution Value range: (null, > 0).

The name of the location source.

Timestamps between different location sources are not synchronized, so you cannot compare timestamps for locations that are obtained from different sources.

The time point at which the geolocation was determined. This point is not tied to any specific date and is used solely to calculate the time between two location measurements obtained from the same location source in the same session. This field must be monotonous increase (even when the system is in sleep mode).