Hello there,
I’m using the process function to join CZML and my goal is to get the intervals to merge.
Please follow this example
//initial CZML
“cartographicDegrees”: [
"2015-07-24T15:35:35+01:00",
-9.00001,
38.00001,
0,
"2015-07-24T15:36:36+01:00",
-9.00002,
38.00002,
0
],
“interval”: “2015-07-24T15:35:35+01:00/2015-07-24T15:36:36+01:00”
//CZML to process
“cartographicDegrees”: [
"2015-07-24T15:50:50+01:00",
-9.00003,
38.00003,
0,
"2015-07-24T15:55:55+01:00",
-9.00004,
38.00004,
0
],
“interval”: “2015-07-24T15:50:50+01:00/2015-07-24T15:55:55+01:00”
``
The result after process() should be:
“cartographicDegrees”: [
"2015-07-24T15:35:35+01:00",
-9.00001,
38.00001,
0,
"2015-07-24T15:36:36+01:00",
-9.00002,
38.00002,
0,
"2015-07-24T15:50:50+01:00",
-9.00003,
38.00003,
0,
"2015-07-24T15:55:55+01:00",
-9.00004,
38.00004,
0
],
“interval”: “2015-07-24T15:35:35+01:00/2015-07-24T15:55:55+01:00”
``
Can I achieve this using Cesium API?
Another question: for debug purposes only, is it possible to get the CZML from a data source?
Thank you!