SelfSync

GPS metadata message

GPS metadata messages store detailed GPS fixes, with sub-second timing, heading and velocity on each axis.

FIT name
gps_metadata
Global message number
160
JavaScript SDK key
gpsMetadataMesgs
Fields
10

Fields

  • timestampDateTimes

    Moment the message refers to, in UTC. FIT stores it as seconds since the FIT epoch (December 31, 1989, 00:00:00 UTC); decoders usually expose it as a regular date.

  • timestampMsUint16ms

    Millisecond part of the timestamp, for sub-second precision.

  • positionLatSint32semicircles

    Latitude. FIT stores coordinates as semicircles: multiply by 180 / 2^31 to get degrees.

  • positionLongSint32semicircles

    Longitude. FIT stores coordinates as semicircles: multiply by 180 / 2^31 to get degrees.

  • Altitude, with a larger range than the altitude field. Prefer it when present.

  • enhancedSpeedFloat64m/s

    Speed, with a larger range than the speed field. Prefer it when present.

  • headingFloat64degrees

    Direction of travel.

  • utcTimestampDateTimes

    UTC time given by the GPS, to correlate it with the system time of the device.

  • velocityFloat64[]m/s

    Velocity along longitude, latitude and altitude.

  • mesgNumString

    Global message number identifying the kind of message. Decoders use it to know which profile to apply to the data.

Other sensors and raw data messages

See all the FIT messages