Skip to content

Instantly share code, notes, and snippets.

@ExtReMLapin
Created February 21, 2020 16:53
Show Gist options
  • Save ExtReMLapin/b20e46c9274ffe38c687c5451e95e945 to your computer and use it in GitHub Desktop.
Save ExtReMLapin/b20e46c9274ffe38c687c5451e95e945 to your computer and use it in GitHub Desktop.
  • Generating routes on basecamp will generate a GPX file with startPoint and endPoint.

    • The .GPX will also include all the "segments" (where you need to turn, for example) between two points
    • The foretrex will NEVER read those points.
    • The data should either be stripped from the GPX or used by the GPS (second choice is probably better)
  • The files where routes/tracks are stored are GPX files (basically XML files)

    • Route line example (len=72 bytes): <gpxx:rpt lat="48.603794574737549" lon="1.569714546203613" />
      • Could be lowered to 16 bytes (2 x double) → 78% size reduction
    • Track line example (len=65 bytes): <trkpt lat="48.587400913238525" lon="1.572611331939697" />
      • Could be lowered to 16 bytes (2 x double) → 70% size reduction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment