Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity path drawn incorrectly if forwardExtrapolationDuration exceeds availability #12426

Open
srcejon opened this issue Jan 10, 2025 · 0 comments

Comments

@srcejon
Copy link
Contributor

srcejon commented Jan 10, 2025

What happened?

Here's an entity with a path, using CZML sampled position data, Lagrange interpolation, forwardExtrapolationType of EXTRAPOLATE and forwardExtrapolationDuration of 49, which extrapolates to a time less than the availability end time:

image

And that looks as I'd expect. Here's the Sandcastle

If I add an extra second or more to forwardExtrapolationDuration (E.g. set to 50), so that it exceeds availability end time, then the path is drawn ending up randomly somewhere in space:

image

Here's the Sandcastle

Add a second to the availability end time, and then the path appears correct again.

Reproduction steps

...

Sandcastle example

https://sandcastle.cesium.com/#c=nVb7j9o4EP5XovwUJNZ5APsqXZWyq2qr7bUq6HRqszqZxIBVx45sZyl74n+/cV4LBLgLKELxPL5vMh6PJxJcaSt6TZj13voZcsv6x/xZFo1vrdCORZQlhOvQ7hZijhNiFOMfX56sLyImrFa9EKmo4EbrI68Ub7pbmKGNXzBleEYZ1evQNqaBFwwuPP/Cu5n6wa3Xu/U85Hmeuyfvl/KaLbRpXCD0Pe9qHmwpkiKs24q2kC6YnhcOCLnwTHCSMnKPNXZzB+WOiaJZMqKyfPsbXtGCzWroTU2RYr1sMCRYE0nxPnWhVILReCyYkAfUhUl0QltYyMUMG4Ofhw3ML/AH3eNa74Qu6J3yDAaDw8rnpnizK9pabrrbCVvRuEhjaPfqJJdfSiBhmYZ6MnoPDRo7IBSt1Du7QFIRLY/W1o89nghLLRYSp0sa3ZOFJEQdSPD/gDK/Cw/1+3uygY/6l95+3vfXhwj8NgT+GQRBG4LgDIJeG4LeGQT9NgT9MwgGbQgGZxBctiG4PIPgqg3B1RkE120Irs8guDlC0Kj5guKmPYV/7Cw3ijKn8Jun2eDWouedDjMXcoVl/PBbQ5cRDJumdZ9JXDWvgfef5tN1SoqO9vDX9Pvo29en0fRhr5FRDpdP5TBiCyGpXiaF19Po0/fRH59OuhTNLw+obLUhh+f5XchDHuVTwgslKyJhTuBkZRVXJPozlznQSPP1WHCNKSdwjXVNW950tvw1TchEk/SRTwhIYgVQ/rtKqzS0YpCUwJ8zRjGH65mguRTJoxLX0OWcowNDaHe2oETaHqm/g1R8LIqYiH6hPLYphA+o+buRc+IcMBRpbSfSY2ZRJiVMVacRTboY5BK9CpFMhZObdXPcBmCSMU1TRvPtaeQZrF13N86lyFg84tTMLMZFZiTfqSqFMcxFE5HJiHyDnFFljEqEN5VCOI4dUy5lqscwR97XasQEjh0zW3ag7opKaOAab6SXhDvzjEemEi3nzahT3e1VTiSOfpH4gWsYICGkN0tEjIxCTAuiP64fIa56MjTUUNCdnCvCOlpukREphax5VpTHYoUwI1KXqtI5D9/u2kOl14zcVQfpA01SAYWbSebAVKkJTJWQU+XOMogUtlWpAsGyhu626zCmLzBlvz9wdKyIYaVAM88Ym9BXOJZ3QxfsG64mw5QvvsLszfDamC39u6dCiBAaurA87KmFYDMs95D/BQ

Environment

Browser: Edge / Firefox / Chrome
CesiumJS Version: 1.125
Operating System: Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant