Feel free to bump the issue on GitHub to let the team know it's still something you need. It helps to offer more context as well, since the more commonly used a feature will be the more likely it will be a priority.
In the mean time, have you tried using the workaround code provided in that issue to accomplish this?
On Wednesday, December 19, 2018 at 11:55:46 AM UTC-5, andrea...@gmail.com wrote:segunda-feira, 27 de Novembro de 2017 às 16:35:00 UTC, Scott Hunter escreveu:
> One option is to use a delete packet to remove an entity entirely, and then recreate it specifying only the new set of samples.
>
>
> Packet · AnalyticalGraphicsInc/czml-writer Wiki · GitHub
>
>
>
> This use case, though unusual, has come up before. Remove samples prior to a certain time (SampledProperty) · Issue #2520 · CesiumGS/cesium · GitHub
>
>
> New CZML syntax to specify that an interval of samples should be deleted would be a useful addition to consider in the future.
>
>
>
>
>
>
>
>
> Hi everyone
>
>
>
> I'm visualizing thousands of vehicle trails in Cesium using CZML.
>
>
> I wrote many czml files to record positions of vehicles per minute, and load it periodically by CzmlDatasource.process() function.
>
>
> The problem is when time goes by, more and more files are loaded and occupy the memory. I can see the memory increases gradually.
>
>
> Removing the previous loaded czml packets may be a solution, but I don't know how to.
>
>
> For example, I firstly load 2 minutes data. When I need the next minute data, I can remove the previous minute data, to assure that there are always only 2 packets in the CzmlDataSource.
>
>
> So Can I periodically remove czml packets in the CzmlDatasource? Or are there any other solutions to this issue?
>
>
>
> Thanks
>
>
> Chris
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "cesium-dev" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Hi Scott,
regarding the subject's related issue (Remove samples prior to a certain time (SampledProperty) · Issue #2520 · CesiumGS/cesium · GitHub), do you have any prediction when this will be available?
Our goal is to remove all data points in a DataSource out of a given time interval.
Regards.
yes I'm using the work around, did not finish yet, but I'm a bit concerned on the performance because we need to iterate through all entities.