An open API service indexing awesome lists of open source software.

https://github.com/chancehudson/gpxmerge

A tool to merge gpx files
https://github.com/chancehudson/gpxmerge

Last synced: over 1 year ago
JSON representation

A tool to merge gpx files

Awesome Lists containing this project

README

          

# gpxmerge [![Build Status](https://travis-ci.org/JChanceHud/gpxmerge.svg?branch=master)](https://travis-ci.org/JChanceHud/gpxmerge) [![npm](https://img.shields.io/npm/v/gpxmerge.svg)](https://www.npmjs.com/package/gpxmerge)

A tool for merging multiple gpx files. It takes the metadata from the first file and appends trackpoints from all other supplied files.

## Install

Install from npm with the following command:

```sh
npm install -g gpxmerge
```

## Usage

The tool can be called with multiple gpx files, and will output the combined gpx to stdout.

Example use:

```sh
$ gpxmerge ./test/file1.gpx ./test/file2.gpx





Morning Ride
1


140.4


0

13
103
29



```

Written to file:
```sh
$ gpxmerge ./test/file1.gpx ./test/file2.gpx > merged.gpx
```

## Inspiration

Built to fulfill my need to document every mile I ever ride on my [beeceecle](https://www.strava.com/activities/1973133843).