czml-writer icon indicating copy to clipboard operation
czml-writer copied to clipboard

Epoch seconds can lose precision or overflow in extreme cases

Open shunter opened this issue 11 years ago • 0 comments

When we write samples, we use the first sample time as the epoch time, and blindly use epoch seconds for all remaining samples. When the duration since the epoch increases past some maximum allowed duration (user configurable), we should either fall back to ISO strings for sample times, or close the packet and reopen a new packet with a new epoch time.

shunter avatar May 29 '13 19:05 shunter