czml-writer
czml-writer copied to clipboard
Epoch seconds can lose precision or overflow in extreme cases
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.