Skip to main content

Parse and convert Daum Ergo Bike EPP files

Project description

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

  • python (version 2.7, 3.3, 3.4, 3.5, or 3.6)

  • python-construct (version 2.8)

  • docopt (version 0.6.2)

  • Tested operating systems: Linux, OS X, OpenBSD

Installation

sudo python ./setup.py install

This will install gpx2epp and eppread including all dependencies into /usr/local/bin or similar.

Usage

gpx2epp

Convert GPX to Daum EPP height 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. Can be useful for debugging.

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.1.tar.gz (7.8 kB view hashes)

Uploaded Source

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