CZML - Interpolating future data points

Is it possible using CZML + Cesium to have a initial sample dataset, (say an orbital pattern), and generate the next elements for an animation frame outside the extents / timeInterval of that dataset?

Just curious if that supported or even possible, thanks!

-Dave

1 Like

There is no definitive answer. I am in the process of adjusting the time of CZML by importing it from DB with Query statement. It would be nice to proceed by cutting the time of timeInterval.
ex) …04:10Z/…04:20Z

You can set known data through CZML, obtain its value through getValue(), and then use Cesium. Cartesian3. lerp (start, end, t, result) for external interpolation.

I see @A_Quark, this is great that it could be done programmatically!

I wonder if its possible, (I’m not sure if this exists already) if this functionality could be done in the render loop.

Ex: If interpolateExtents is set, the visualizers in the render loop would lerp future/past values for us based on the sample dataset (on this update frame).

The scenario is: we might have a sample dataset from Dec 2-5, but if we allow Cesium’s clock to surpass to Dec 6, we would wish the dataset to continue rendering based on the interpolated data.

Let me know if this exists already, or is even possible!

You can adjust the time range of the scene through CZML, which is also useful.

@Kevin_Ring, do you think its possible for the framework to support lerping future values for a given CZML dataset?

Do you mean something like the existing CZML extrapolation properties? Specifically, forwardExtrapolationType : “EXTRAPOLATE”. This is available for any CZML property which is interpolatable.