VehicleLocationLog

The location, speed, and heading of a vehicle at a point in time.

JSON representation
{
  "location": {
    object (LatLng)
  },
  "latlngAccuracy": number,
  "serverTime": string,
  "heading": integer,
  "headingAccuracy": number,
  "bearingAccuracy": number,
  "altitude": number,
  "verticalAccuracy": number,
  "altitudeAccuracy": number,
  "speed": number,
  "speedAccuracy": number,
  "locSensor": enum (LocationSensorLog),
  "isRoadSnapped": boolean,
  "isGpsSensorEnabled": boolean,
  "rawLocation": {
    object (LatLng)
  },
  "rawLocationSensor": enum (LocationSensorLog),
  "rawLocationTime": string,
  "rawLocationAccuracy": number,
  "supplementalLocation": {
    object (LatLng)
  },
  "supplementalLocationTime": string,
  "supplementalLocationSensor": enum (LocationSensorLog),
  "supplementalLocationAccuracy": number
}
Fields
location

object (LatLng)

Vehicle location.

latlngAccuracy

number

Accuracy of location in meters as a radius.

serverTime

string (Timestamp format)

The time when the server receives the location.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

heading

integer

Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360).

headingAccuracy

number

Accuracy of heading in degrees.

bearingAccuracy
(deprecated)

number

Deprecated: Use headingAccuracy instead.

altitude

number

Altitude in meters above WGS84.

verticalAccuracy
(deprecated)

number

Deprecated: Use altitudeAccuracy instead.

altitudeAccuracy

number

Accuracy of altitude in meters.

speed

number

Speed of vehicle in meters/second

speedAccuracy

number

Accuracy of speed in meters/second.

locSensor

enum (LocationSensorLog)

Location data provider.

isRoadSnapped

boolean

Whether location is snapped to a road.

isGpsSensorEnabled

boolean

Specifies whether GPS Provider is enabled.

rawLocation

object (LatLng)

Raw location with no road-snapping processing.

rawLocationSensor

enum (LocationSensorLog)

Source of the raw location.

rawLocationTime

string (Timestamp format)

The time when the raw location was recorded.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

rawLocationAccuracy

number

Accuracy of raw location (lat/lng) in meters as a radius.

supplementalLocation

object (LatLng)

Supplemental location provided by the integrating app.

supplementalLocationTime

string (Timestamp format)

Timestamp associated with the supplemental location.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

supplementalLocationSensor

enum (LocationSensorLog)

Source of the supplemental location.

supplementalLocationAccuracy

number

Accuracy of supplementalLocation as a radius, in meters.