SETATTRIBUTES


gts encoder
Since v1.0.0
Available on all platforms
See also

Modifies the attributes of a Geo Time Series™, an encoder or a list thereof. The SETATTRIBUTES function expects a parameter MAP whose entries are attributes to set or alter.

If the parameter MAP has an entry with a NULL key, the SETATTRIBUTES function will use the rest of the MAP as the actual attributes to set for the GTS. If no NULL key exist, then the other entries of the MAP will alter the existing attributes.

An entry with an empty STRING value will have the effect of removing the attribute from the attributes of the GTSs or encoders.

Signature

Examples

NEWGTS CLONE { 'foo' 'bar' 'bar' 'foo' } SETATTRIBUTES //two new attributes added CLONE { NULL NULL 'star' 'trek' } SETATTRIBUTES //all removed, one new CLONE { 'next' 'generation' 'heckle' 'jeckle' } SETATTRIBUTES //add two new attributes CLONE { 'next' '' } SETATTRIBUTES //remove just one CLONE { 'heckle' 'Peter' } SETATTRIBUTES //change just one