Skip to main content

Command line tools useful to manipulate GPX files.

Project description

gpxtools

Overview

Command line tools useful to manipulate GPX files.

Tools

gpx-elevation-fix

Fixes elevation (Z-axis) data in GPX file based on SRTM data.

gpx-cleanup

Removes from GPX file unnecessary data (e.g.: speed or course) stored by some GPS devices.

gpx-compress

Removes unnecessary chars (e.g.: white spaces) to decrease GPX file size.

Using

Usage: command-name [options]

Options:
  -h, --help                show this help message and exit
  -i FILE, --intput=FILE    name of GPX input file, if not set stdin will be used
  -o FILE, --output=FILE    name of GPX output file, if not set stdout will be used

Possible is also cascade joining of commands:

cat input.gpx  | ./bin/gpx-fix-elevation | ./bin/gpx-cleanup | ./bin/gpx-compress > output.gpx

Installation

gpxtools requires GDAL python bindings. This packege uses GDAL library. You can build it form source or install from binary package. For more details see GDAL library homepage.

gpxtools requires also lxml. To build it you can use plone.recipe.lxml buildout recipe.

Installation with easy_install

Run command:

$ easy_install gpxtools

Installation with buildout

Save script in buildout.cfg file:

[buildout]
develop = .
parts = gpxtools-script

[gpxtools-script]
recipe = zc.recipe.egg
eggs = gpxtools

Run commands:

$ python bootstrap.py
$ ./bin/buildout

Commands will be created in bin subdirectory.

Author & Contact

Author:Wojciech Lichota <wojciech[at]lichota.pl>
http://lichota.pl/lichota-logo.png

Changelog

2009/07/07 0.1.0:

  • Initial release.

Project details


Download files

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

Files for gpxtools, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gpxtools-0.1.0.tar.gz (18.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page