Hello Mathew/Patrick,
we are using CZML for rendering the polylines on the map, when there is huge data say 25k to 20k polylines with innumerable positions for each of the entities we are unable to render on the map cause of the huge size of CZML.
please let us know how to optimize the CZML i.e reducing the size of it.
we have already optimised the description based on the “parent” of CZMLWriter. but Inorder to further optimize the CZML generated can we use references to material ??
i could see references to postions, but it is not useful to us as none of the positions of each of the entities are not repetitive.
so it is best if we could optimize styling that is the material, please let us know how we can use reference to material with sample CZML.
or is there any other way that we could reduce the size of the CZML similar to below CZML
[
{
“id”:“document”,
“version”:“1.0”
},
{
“id”:“20069_Linestring_08_04”,
“description”:"{“artefactname”:“Linestring_08_04”,“layerid”:20069,“layername”:“Linestring_08_04(1)”}"
},
{
“id”:“1433486776790011068731052231952143348677679104642”,
“name”:“1.0”,
“parent”:“20069_Linestring_08_04”,
“description”:"{“artifactid”:“1433486776770011011241079262937”}",
“polyline”:{
“material”:{
“solidColor”:{
“color”:{
“rgba”:[
0,128,255,255
]
}
}
},
“width”:1,
“positions”:{
“cartographicDegrees”:[
-107.3709107447025,24.69541972598256,0,-107.3163353501408,25.16337635603826,0,-107.9249506717812,24.92140844923159,0
]
},
“show”:true
}
},
{
“id”:“1433486776790021031871099282305143348677679100431”,
“name”:“2.0”,
“parent”:“1433486776790011068731052231952143348677679104642”,
“description”:"{“artifactid”:“1433486776770021067081077717701”}",
“polyline”:{
“material”:{
“references”:[
“1433486776790011068731052231952143348677679104642#polyline.material”
]
}