TrackCollection
This module contain a class to manage the collections of tracks
-
class tracklib.core.TrackCollection.TrackCollection(TRACES=[])[source]
TODO
-
__init__(TRACES=[])[source]
TRACES: list of Track
-
addTrack(track)[source]
TODO
-
size()[source]
TODO
-
length()[source]
TODO
-
duration()[source]
TODO
-
getTracks()[source]
TODO
-
getTrack(i)[source]
TODO
-
copy()[source]
TODO
-
setTimeZone(zone)[source]
TODO
-
convertToTimeZone(zone)[source]
TODO
-
frequency(mode='temporal')[source]
TODO
-
createSpatialIndex(resolution=None, verbose=True)[source]
TODO
-
exportSpatialIndex(filename)[source]
TODO
-
importSpatialIndex(filename)[source]
TODO
-
toECEFCoords(base=None)[source]
TODO
-
toENUCoords(base=None)[source]
TODO
-
toGeoCoords(base=None)[source]
TODO
-
toENUCoordsIfNeeded()[source]
TODO
-
smooth(constraint=1000.0)[source]
TODO
-
summary()[source]
Print summary (complete wkt below)
-
addAnalyticalFeature(algorithm, name=None)[source]
TODO
-
getAnalyticalFeature(af_name, withNan=True)[source]
-
operate(operator, arg1=None, arg2=None, arg3=None)[source]
TODO
-
plot(symbols=None, markersize=[4], margin=0.05, append=False)[source]
TODO
-
filterOnBBox(bbox)[source]
TODO
-
bbox()[source]
TODO
-
resample(delta, algo=1, mode=1)[source]
Resampling tracks with linear interpolation
- Parameters
delta – interpolation interval (time in sec if temporal mode is selected,
space in meters if spatial).
mode (Literal
[1, 2]) –
Mode of interpolation.
Available modes are:
MODE_SPATIAL (mode=1)
MODE_TEMPORAL (mode=2)
- Params algorithm
of interpolation.
Available algorithm are :
NB: In temporal mode, argument may be:
-
__collectionnify()
TODO
-
simplify(tolerance, mode=1)[source]
TODO
-
removeTrack(track)[source]
TODO
-
removeEmptyTrack()[source]
Remove tracks without observation
-
segmentation(afs_input, af_output, thresholds_max, mode_comparaison=1)[source]
TODO
-
split_segmentation(af_output)[source]
Découpe les traces suivant la segmentation définie par le paramètre af_output ET
Remplace la trace par les traces splittées s’il y a une segmentation.