Custom CZML

Hi,

i need, as the title, customize a Czml to load on Cesium.

For example(red lines):

[

{

“id”:“document”,

“name”:“test”,

“version”:“1.0”

},

{

“id”:“00005_20160311_000000”,

“label”:{

“text”:“VANGUARD 1”,

“fillColor”:{

“rgbaf”:[

255,255,255,1

]

},

“show”:false

},

“point”:{

“color”:{

“rgbaf”:[

255,0,0,1

]

},

“pixelSize”:2,

“show”:true

},

“path”:{

“width”:1,

“trailTime”:43200,

“leadTime”:0,

“show”:false

},

“position”:{

“referenceFrame”:“INERTIAL”,

“epoch”:“2016-03-11T00:00:00Z”,

“cartesian”:[

0,5039107.25709035,-6925457.6993435,-4188705.82416395,

60,5370832.21194173,-6814190.67202768,-4082301.09883048,

120,5693816.56381077,-6691830.8927493,-3969234.98365586,

180,6007684.50925187,-6558754.17302881,-3849796.85822415,

240,6312082.09960522,-6415336.30128838,-3724274.05423333,

300,6606675.96648118,-6261952.65647262,-3592951.71295318,

360,6891152.11953826,-6098977.90474542,-3456112.6919963,

],

“interpolationAlgorithm”:“LAGRANGE”,

“interpolationDegree”:1

},

},

{

“sat-information”:{

“name”: “ciaone”,

“owner”: “io”

}

}

]

After loaded the czml i need to read this property.

Is it possible? If yes what is wrong? What i need to change?

Thanks,

Gianmaria

You can’t (currently) add arbitrary properties to CZML, but this pull request adds that capability:

https://github.com/AnalyticalGraphicsInc/cesium/pull/3548