Monday, August 24, 2009

GPS.BIN Notes

GpsPasSion Forums - [TIP] Raw logging on nuvi 2xx/5xx/7xx/1xxx
File format of gps.bin is very simple, no problem with conversion to gpx. It goes like this:

Header 48 bytes:
4B string - text "BEGN"
4B int - GPS week number, starting at 22.8.1999
4B int - second of a week
4B float - heading in radians
8B double - longitude in radians
8B double - latitude in radians
12B ??
4B int - 0 or number of records

record 28 bytes:
4B string - text "$$"
4B int - timestamp in miliseconds
8B double - latitude in radians
8B double - longitude in radians
4B float - heading in radians


No comments:

Post a Comment