crp2csv — convert CicloTour CRP files to CSV format
crp2csv
[OPTION...] [
infile
[
outfile
]
]
crp2csv is used to convert a CicloTour CRP file (or a CRP file fragment) to a CSV file readable by most spreadsheet calculators. The tour data can be manipulated in several ways: The distance values can be scaled by a constant factor in order to compensate for a wrongly calibrated odometer. The altitude values can be scaled by giving a new start and end altitude, or a constant offset can be added to all altitude values.
Unless the option -n
(or
--nosmooth
) is given, the distance and altitude
values are first smoothed by adding/subtracting small correction
terms. Distance values are altered by at most 5 m, and altitude values
are altered by at most 0.5 m.
The generated CSV file starts with some lines of meta data (e.g., title, height difference, average slope). After that, the actual data rows contain the following tab-separated fields:
The meta data from the beginning of the CSV file can also be output as an XML file. The speed, vertical speed, and slope colums do not contain any additional information, they are simply calculated from consecutive distance and altitude values. svggraph(1) only uses the 6th and 7th column of the generated CSV file (corrected distance, corrected altitude).
Display a help message and exit.
Display version information and exit.
Show debugging output.
FILE
Set file name for XML output.
INT
Set start height [m] for profile scaling.
INT
Set end height [m] for profile scaling.
INT
Set height offset [m] for profile scaling. This option cannot be
combined with -s
or -e
.
FLOAT
Set length (distance) scaling factor.