1.星链数据下载
CelesTrak: Current GP Element Sets

下载二根数就可以。
2.处理数据

下载下来的数据是这样,要将字符串转为 二根数对象
TwoLineElementSet tle = new TwoLineElementSet(tleString);
Sgp4Propagator propagator = new Sgp4Propagator(tle);
3.批量创建卫星 设置名称和轨迹线
var issPoint = new Sgp4Propagator(tleList).CreatePoint();
var satellite = new Platform
{
Name = tleList.Name,
LocationPoint = issPoint,
OrientationAxes = new AxesVehicleVelocityLocalHorizontal(m_earth.FixedFrame, issPoint),
};
satellite.Extensions.Add(new IdentifierExtension(tleList.Name)

本文介绍了如何从CelesTrak获取星链数据,处理为Sgp4Propagator对象,批量创建带有名称、轨迹线和模型的卫星图形,并在Cesium中展示1000颗卫星的轨迹。最后展示了卫星视角和数据量限制。
最低0.47元/天 解锁文章
760





