# ECI to CZML in MEAN stack?

**URL:** <https://community.cesium.com/t/eci-to-czml-in-mean-stack/4729>\
**Category:** CesiumJS\
**Created:** [October 21, 2016, 6:10pm UTC](https://community.cesium.com/t/eci-to-czml-in-mean-stack/4729 "2016-10-21T18:10:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![westandy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@westandy](https://community.cesium.com/u/westandy)\
**Post date:** [October 21, 2016, 6:10pm UTC](https://community.cesium.com/t/eci-to-czml-in-mean-stack/4729/1 "2016-10-21T18:10:52Z")

</div>

After a few hours of searching the web, I was wondering if there was an npm or github repo available that does a JSON to JSON from ECI to CZML?

My situation: I have a simple web server (Node/Express), with a bunch of ECI data stored in a Mongo database. I would like to be able to query that data, and display it in Cesium in my front-end UI. My thought was that I can construct the CZML JSON data based on the query, in Node/Express and send the CZML data back in the response to my UI.

Before I go and try to construct something, I thought I would ask the Cesium team first.

Thanks!

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [October 24, 2016, 2:17pm UTC](https://community.cesium.com/t/eci-to-czml-in-mean-stack/4729/2 "2016-10-24T14:17:22Z")

</div>

Sorry, I don’t know of any tools to do this. If you decide to create your own converter let us know so we can share it out!

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![Matt\_Amato](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_amato/32/1993_2.png) [@Matt\_Amato](https://community.cesium.com/u/Matt_Amato)\
**Post date:** [October 24, 2016, 6:33pm UTC](https://community.cesium.com/t/eci-to-czml-in-mean-stack/4729/3 "2016-10-24T18:33:50Z")

</div>

FYI, CZML (and Cesium in general) supports ECI positions natively.

In CZML, you can specify “referenceFrame”:“INERTIAL” for position properties.

Have a look at simple.czml in the Apps/SampleData directory (just search for referenceFrame)

If you were talking about propagating a TLE instead, that’s a different story and you would need to use another library.
