Converting a ION transform to longitude / latitude / altitudes

I have some Cesium ION assets that I need mapping in a third party mapping software. When I adjust the longitude latitude, altitude and pitch / bearing etc in the ION asset adjustment tool, I see it edits a transform like this:


Can anyone help me convert this to a longitude/latitude/altitude?


This can be done in CesiumJS with the help of the Matrix4.getTranslation function to get the Cartesian3 translation and then the Cartographic.fromCartesian function to get the latitude/longitude/altitude version in radians.

Here is also a Sandcastle link showcasing the above with a sample tileset: Cesium Sandcastle

Please give this a try and reach out again if you run into any issues.


1 Like