Hi,
I recently converted a KML file with the CZML writer you developped. (I got it from here : https://github.com/AnalyticalGraphicsInc/czml-writer). I used the command line tool provided to do so.
The producted czml file seems a valid JSON formatted file but when I try to load it in my Cesium project, my shapes are not printed at all.
So I was wondering if your command line tool was still properly working (if not it could be of great help to write down a big "DEPRECATED" in the Readme.md...)
Here is a fragment of the CZML file producted :
[
{
"id":"9b1a1e16-3003-4730-b2dc-5f3d9a51b98a",
"label":{
"show":false,
"text":"Sensor1"
},
"position":{
"cartographicRadians":[
-0.03490658503988659,0.7853981633974483,100
]
}
},
{
"id":"13d8729f-929d-4c01-982d-bb3484e116b1",
"polygon":{
"material":{
"solidColor":{
"color":{
"rgba":[
1,1,254,191
]
}
}
}
},
"vertexPositions":{
"cartographicRadians":[
-0.07016935687352018,0.7800553265846581,8172.971518,-0.07016935687352018,0.7821924648004328,5552.911972,-0.06803221865774566,0.7821924648004328,11564.441047,-0.06803221865774566,0.7800553265846581,8071.783921
]
}
}
]
According to what I found here (https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Content#position) the value of "cartographicRadians" should be like "[Time, Longitude, Latitude, Height, Time, Longitude, Latitude, Height, ...]" and in my file it seems more like "[ Longitude, Latitude, Height, Longitude, Latitude, Height, ...]" but I have no time informations in my KML so how am I supposed to construct my CZML?
If the CZML writer is obsolete, is your KML-branch mature enough to handle kml files properly?
Thanks,
Emmanuel