🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

gpxtable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpxtable

Generate tables of interesting GPX route and waypoint information

2.0.1
PyPI
Maintainers
1

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.

.. _Markdown: https://www.markdownguide.org/

.. code-block:: console

$ gpxtable samples/basecamp-route.gpx

  • Garmin Desktop App
  • Default speed: 30.00 mph

Route: Fort Ross Run

NameDist.GETANotes
Peet's Coffee Northgate Mall009:15Restaurant
Nicasio Square1209:39Restroom (+0:15)
Pat's International65L11:41Restaurant (+1:00)
76 Guerneville65/65G12:41Gas Station (+0:15)
Willy's America7913:23Scenic Area (+0:05)
76 Bodega Bay67/132G15:14Gas Station (+0:15)
Point Reyes Station16516:36Restroom (+0:05)
Starbucks Strawberry Village63/19517:41Restaurant
  • 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/.

.. image:: https://readthedocs.org/projects/gpxtable/badge/?version=latest :target: https://gpxtable.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

Keywords

GPS

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts