Skip to main content

Generate tables of interesting GPX route and waypoint information

Project description

gpxtable

GPXtable – your trip planning helper

GPXtable was created based upon the need to assist motorcycle riders and trip planners to determine the most important things:

  • When is lunch?

  • Do I have enough gas to get to the next fuel stop?

While the impetus was motorcycle travel, it works for any sort of trip planning. Unlike most software, it can read both routes as well as tracks. It will do its best to match waypoints to locations on a track to calculate time and distances.

GPXtable provides:

  • A module that can be imported into your own software

  • A command-line program wrapper

  • An extensible Flask/WSGI wrapper

You can see an example of the WSGI wrapper at work at https://gpxtable.wn.r.appspot.com/

In the following example, a GPX route was produced in Garmin’s Basecamp application, the output is in Markdown which is human readable but also easily converted into other formats like HTML.

$ gpxtable samples/basecamp-route.gpx
* Garmin Desktop App
* Default speed: 30.00 mph

## Route: Fort Ross Run

| Name                           |   Dist. | G |  ETA  | Notes
| :----------------------------- | ------: | - | ----: | :----
| Peet's Coffee Northgate Mall   |       0 |   | 09:15 | Restaurant
| Nicasio Square                 |      12 |   | 09:39 | Restroom (+0:15)
| Pat's International            |      65 | L | 11:41 | Restaurant (+1:00)
| 76 Guerneville                 |   65/65 | G | 12:41 | Gas Station (+0:15)
| Willy's America                |      79 |   | 13:23 | Scenic Area (+0:05)
| 76 Bodega Bay                  |  67/132 | G | 15:14 | Gas Station (+0:15)
| Point Reyes Station            |     165 |   | 16:36 | Restroom (+0:05)
| Starbucks Strawberry Village   |  63/195 |   | 17:41 | Restaurant

- 07/30/23: Sunrise: 06:11, Starts: 09:15, Ends: 17:41, Sunset: 20:20

We also include sunrise and sunset so you know when you’re going to get there and if you’ll be traveling in the dark.

If you’re using tracks and waypoints, since they don’t typically have valid timestamps, you’ll need to specify your departure time.

This software has been heavily tested with output from Basecamp, Scenic, InRoute, RideWithGPS, as well as several other routing applications.

Full documentation

Main documentation available at http://gpxtable.readthedocs.io/.

Documentation Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpxtable-2.2.1.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpxtable-2.2.1-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file gpxtable-2.2.1.tar.gz.

File metadata

  • Download URL: gpxtable-2.2.1.tar.gz
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gpxtable-2.2.1.tar.gz
Algorithm Hash digest
SHA256 4df1300e3003b974e8e6510f61053e3a555db36f7c5d9459a52439dca98005fb
MD5 a90429fa1e40b3f3096e14e421f090b5
BLAKE2b-256 1f8a74b316a999cd833e97503d53f352f7970ec583cc7e3b344543bbaefd7317

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpxtable-2.2.1.tar.gz:

Publisher: publish.yaml on pleasantone/gpxtable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gpxtable-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: gpxtable-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gpxtable-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75e45434a3258b7ebd3b0f6ae7d6a639d6be81393bd1dd1f01b604dbfd634487
MD5 8c3cae826a62ce44935d5f0aae738084
BLAKE2b-256 3c5d85626a6e8b37614aefab9bbd380eaf96e93e6a83491134c3a6cafc48757a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpxtable-2.2.1-py3-none-any.whl:

Publisher: publish.yaml on pleasantone/gpxtable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page