sanitizeTracks: Sanitize tracks.

View source: R/fileUtils.R

sanitizeTracksR Documentation

Sanitize tracks.

Description

Sanitize all GPX track files in a directory by removing the type and extension fields, adding a description field, and replacing time with dummy times.

Usage

sanitizeTracks(trkinfo, pin, pout, basedate = NULL, msgcutoff = 100)

Arguments

trkinfo

A data frame that contains information about each track.

pin

Path after the working directory that contains the original GPX files.

pout

Path after the working directory to put the sanitized GPX files.

basedate

A string with a date that will serve as the base date for the dummy times in the sanitized GPX file. Defaults to "2022-01-01".

msgcutoff

A numeric that indicates the maximum number of tracks to be sanitized before an overall progress bar will be given (rather than individual notices).

Details

NONE YET

Value

None, used for side effect of writing sanitized GPX tracks to the pout directory.

Author(s)

Derek H. Ogle

Examples

## None yet.


droglenc/gpxhelpers documentation built on Dec. 12, 2024, 1:33 a.m.