Ever wanted to split a gpx file so each track can be used seperately?
Download or checkout the files to a directory of your choice and run
composer install
.
Simply execute ./splitter.php --path="\path\to\your_export.gpx"
to
split a single gpx-file based on the recorded tracks.
To process multiple files, point "--path" to a directory with your exports.
-p
, --path
: Path to a single gpx file or path to a directory of gpx files. The path may be either relative to current directory or an absolute path.
-m
, --file-mask
: Regular expression to use as file mask for files to be included. Defaults to "/.*.gpx$/i"
.
-f
, --filename-base
: Base filename for the track files. Defaults to the name of the input file.
-r
, --recurse
: Scan subdirectories. Defaults to "TRUE".
-v
, --verbose
: Enable extended logging.
-h
, --help
: Print help.