MVINDEXSPLIT
gts encoder conversion multivariateThe MVINDEXSPLIT
function transforms an input Geo Time Series™ or Encoder by interpreting its Multi Value values and producing multiple output encoders.
The transformation works as follows, whenever MVINDEXSPLIT
encounters a value in Multi Value format at tick
with lat
, lon
, elev
as optional geo components, it decodes that value and adds each of its elements to a separate Encoder identified by the element index (first element being at index 0).
Each element is added with tick
as its timestamp and lat
, lon
, elev
as its geo components, unless it has its own geo information.
If the transformation encounters a value which is not in Multi Value format, its assumes it is an element found at index 0 and adds it to the associated encoder.
Once the input has been scanned completely, the resulting encoders are renamed, either by looking up the renaming parameter in a map or by appending :INDEX
to the original name.
The labels and attributes from the input are preserved.
Optionaly a list of indices or indices ranges can be specified to only produce encoders for the indices which are specified or fall within a specified range.