Download

GPSMash 1.4
Aug 7, 2013

Example: Redirecting data output

The -data command is used to redirect the data output to a file. This is useful when more than one file is produced with a single invocation of the command. For example, the following command will analyze the data in the C:\gpx folder and will produce two histogram files:

GPSMash.exe -loadgpx C:\gpx

-data C:\elevation.txt

-histogram ele tim 0 5000 100

-data C:\speed.txt

-histogram spd tim 0 150 100

 

The -loadgpx C:\gpx command loads all the GPX files from the C:\gpx folder. Next, the data output is switched to the C:\elevation.txt file. When the elevation histogram is generated (-histogram ele tim 0 5000 100) the output is redirected to this file. The next two commands generate the speed histogram to C:\speed.txt.