TraceLoader

constructor(path: String, cycle: Boolean, normalizer: GPSTimeAlignment)

Builds a new loader using the given time normalizer.

Parameters

path

path with the gps tracks

cycle

true if considering a list of GPSTrace cycle, default false

normalizer

normalizer to use for normalizing time

Throws

in case of I/O errors


constructor(path: String, cycle: Boolean, timeNormalizerClass: String, normalizerArgs: Array<Any>)

Builds a new loader, creating the time normalizer by class name with the given arguments.

Parameters

path

path with the gps tracks

cycle

true if considering a list of GPSTrace cycle, default false

timeNormalizerClass

class to use to normalize time

normalizerArgs

args to use to create GPSTimeNormalizer

Throws

in case of I/O errors


constructor(path: String, normalizer: GPSTimeAlignment)

Builds a new non-cyclic loader using the given time normalizer.

Parameters

path

path with the gps tracks

normalizer

normalizer to use for normalizing time

Throws

in case of I/O errors


constructor(path: String, timeNormalizerClass: String, normalizerArgs: Array<Any>)

Builds a new non-cyclic loader, creating the time normalizer by class name with the given arguments.

Parameters

path

path with the gps tracks

timeNormalizerClass

class to use to normalize time

normalizerArgs

args to use to create GPSTimeNormalizer

Throws

in case of I/O errors