Library for reading QuickRoute data files in Python.
Contains also utility to convert the data to other formats (eg. to .gpx
with heart rate info).
The command line utliity can dump data from existing QuickRoute JPEG file to following formats:
- plain JSON (mainly for debugging purposes)
- TODO GPX (including heart rate info)
- TODO KML (for viewing in Google Earth etc)
- TODO GeoJSON
Example #1 (my_qrt_file.jpg to out.json):
python -m quickroute.cli --format json my_qrt_file.jpg > out.json
QuickRoute saves an additional APP0 section to JPEG file it creates. This section starts with QuickRoute
string,
followed by the actual binary contents.
Most of the file follows this format:
- tag number (single byte)
- data length (uint32)
- data to decode (tag specific binary contents)
On some parts the parsing is recursive (data contents contain more data in the same format).
To be documented better, see the source...
For now see the command line utility and its JSON output format.
To be documented and might get reformatted alot.
- QuickRoute source repository
- QuickRoute website
- DOMA includes PHP library for reading the same files
- World of O has a huge DOMA map collection