kssfilo / gpxtimeshift

Command line tool to shift time stamp of GPX file by specified offset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpxtimeshift

Command line tool to shift timestamps in GPX file by specified offset

#example
gpxtimeshift +1h < today.gpx

Install

sudo npm install -g gpxtimeshift

Usage

@PARTPIPE@|dist/cli.js -h

!!SEE NPM README!!

@PARTPIPE@

Use as module

var GpxTimeShift=require('gpxtimeshift')

gpxString="<?xml version ......</gpx>"
offsetSeconds=-3600;

GpxTimeShift(gpxString,offsetSeconds)
.then(function(gpxString){
	console.log(gpxString);
});

Change Log

  • 0.1.x:first release

About

Command line tool to shift time stamp of GPX file by specified offset

License:MIT License


Languages

Language:CoffeeScript 55.2%Language:Makefile 27.5%Language:Shell 17.3%