Skip to content

gts format

Steven GUEGUEN edited this page Oct 27, 2020 · 3 revisions

GTS JSON representation

Attributes

  • c: Class name
  • l: Labels key/value map
  • a: Attributes key/value map
  • v: Values array

Values

[ timestamp [latitude] [longitude] [elevation] value ]

Samples:

  • [1597736448696219,39.98422895092517,-4.713335009291768,638,true]
  • [1597736448696219,39.98422895092517,-4.713335009291768,638,42]
  • [1597736448696219,39.98422895092517,-4.713335009291768, "a"]
  • [1597736448696219,"a"]

GTS Sample

{
    "c": "serie0",
    "l": { "label-a": "a" },
    "a": {},
    "v": [
        [
            1597736696635180,
            39.46301849093288,
            -4.89545825868845,
            335,
            25
        ],
        [
            1597736696634216,
            39.56204158253968,
            -4.807601412758231,
            981,
            26
        ],
        [
            1597736696633220,
            39.02228138409555,
            -4.428675519302487,
            673,
            27
        ]
    ]
}
Clone this wiki locally