# Satellite position over time paths not showing

**URL:** <https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642>\
**Category:** CesiumJS\
**Created:** [July 30, 2021, 4:15pm UTC](https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642 "2021-07-30T16:15:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiatrp](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/wiatrp/32/5762_2.png) [@wiatrp](https://community.cesium.com/u/wiatrp)\
**Post date:** [July 30, 2021, 4:15pm UTC](https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642/1 "2021-07-30T16:15:24Z")

</div>

I have an application where I’m propagating several satellites using the satellite.js library. The satellite orbits seem to be good and I can generate paths for all satellites except for GEO satellites.

This is how my entity looks:

```auto
let entity = this.viewer.entities.add({
      position: undefined,
      point: {
        pixelSize: 4,
        color: Cesium.Color.YELLOW
      },
      path: {
        width: 1,
        material: Cesium.Color.YELLOW,
        trailTime: 1,
        leadTime: 1000,
        show: true
    },
 })

```

Then I loop through some time steps and propagate the path of the satellite (using satellite.js and satellite TLEs) for x amount of time in front of the satellite so I can show the path.

```auto
let positionAndVelocity = satellitejs.propagate(satRec, nextStepDate);
const gmst = satellitejs.gstime(nextStepDate);
const position = satellitejs.eciToGeodetic(positionAndVelocity.position, gmst);
let debrisPos = Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.height * 1000);
entity.position.addSample(nextStepJulianDate, debrisPos);

```

It seems like this happens for the GEO satellites specifically because the satellites are not actually moving across the earth (or very little), and are basically above the same spot all the time.

How can I get orbit paths to show for all of my satellites?

Here is an example of what my application looks like. The GEO satellite is out to the right that does not have a path

 ![image](https://global.discourse-cdn.com/cesium/original/2X/7/78da4a1bec565385ab8bb8823cf906480f296d09.jpeg)

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [July 31, 2021, 8:42pm UTC](https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642/2 "2021-07-31T20:42:05Z")

</div>

@wiatrp

Welcome to the community! If I am not mistaken, it seems like this question is strictly related to `satellite-js`.

> **[GitHub - shashwatak/satellite-js: Modular set of functions for SGP4 and SDP4...](https://github.com/shashwatak/satellite-js)**
>
> Modular set of functions for SGP4 and SDP4 propagation of TLEs. - GitHub - shashwatak/satellite-js: Modular set of functions for SGP4 and SDP4 propagation of TLEs.

Is that correct? If so, you will receive the best support if you consult with their development team. If this is in fact a CesiumJS related question, I would love to see a sandcastle demo of what you have so far. This would help me debug the problem.

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![scottUFR](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scottufr/32/3458_2.png) [@scottUFR](https://community.cesium.com/u/scottUFR)\
**Post date:** [August 2, 2021, 3:11pm UTC](https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642/3 "2021-08-02T15:11:03Z")

</div>

What happens if you show 24 hours of orbit instead of what looks like 20 minutes or so for the LEOs? Can you also show the CesiumJS code you are using to configure the satellites?

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [August 3, 2021, 11:20pm UTC](https://community.cesium.com/t/satellite-position-over-time-paths-not-showing/14642/4 "2021-08-03T23:20:41Z")

</div>

@scottUFR

I am not sure exactly what you are trying to get at here. Could you maybe give me a little bit more information on your use case? Are you referring to this sandcastle demo?

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?src=CZML.html&label=CZML)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

Looking forward to hearing more.

Best,  
Sam
