In poliastro, a Python library for Astrodynamics focused on interplanetary applications (http://docs.poliastro.space/), we were considering using Cesium and CZML to export 3D plots of orbits. However, I am not sure this is at all possible: the ability to specify a central body that is not the Earth is mentioned in this outdated roadmap from 2015:
https://github.com/AnalyticalGraphicsInc/cesium/wiki/Architecture
The
CentralBody
primitive represents the globe (in a future Cesium version, any central body such as the Moon and Mars will be supported).
However, there are no further references since then.
On the other hand, by reading the simple.czml example I see that nowhere it is specified which central body do the satellites orbit:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Specs/Data/CZML/simple.czml
This
means that I could focus on exporting an orbit as a correct CZML and leave the rest to the user. But I fear that this will lead to incorrect results because there are many Earth-based assumptions in Cesium.
What do others think about this? Is it at all within Cesium vision?
Kind regards,