Skip to main content

Parse and convert Daum Ergo Bike EPP files

Project description

https://github.com/ra1fh/eppconvert/actions/workflows/ci.yml/badge.svg

eppconvert

Tools to parse and convert Daum Ergo Bike EPP files. This contains a mostly complete specification of the EPP/EUP file format, using python-construct.

Requirements

Installation

The installation can be done with pip/pypi or from source. In both cases the scripts gpx2epp and eppread will be made available as command line tools.

To install with pip from pypi:

sudo python -m pip install eppconvert

Alternatively install from source:

sudo python ./setup.py install

Usage

gpx2epp

Convert GPX to Daum EPP elevation profile. Writes a version 7 EPP file.

Usage:
    gpx2epp [-i FILE] [-o FILE] [-s STEPSIZE]

Options:
    -h, --help               Show this.
        --version            Show version.
    -i, --input FILE         Input GPX file (default: stdin).
    -o, --output FILE        Output EPP file (default: stdout).
    -s, --stepsize STEPSIZE  Stepsize in meters.

Here is an example that reads a GPX file and writes an EPP file to stdout with a stepsize of 200 meters between data points:

gpx2epp --input track.gpx --stepsize 200 > track.epp

Only the first track of the GPX file is converted, including all track segments. Please note that arbitrary stepsize values can be used and do usually work, but only files with a stepsize of 200 meters can be modified with the control console editor.

eppread

Read and print Daum Ergo Bike EPP/EUP files. Prints textual representation to stdout.

Usage:
    eppread [-i FILE] [-o FILE] [-l LIMIT]

Options:
    -h, --help               Show this.
        --version            Show version.
    -i, --input FILE         Input EPP/EUP file (default: stdin).
    -o, --output FILE        Output text file (default: stdout).
    -l, --limit LIMIT        Limit of data points to print.

Example usage that reads an EPP file and prints the header and 5 data points at most:

eppread --input track.epp --limit 5

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

eppconvert-0.9.3.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

eppconvert-0.9.3-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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