# How to accurately correspond longitude and latitude with world coordinates?

**URL:** <https://community.cesium.com/t/how-to-accurately-correspond-longitude-and-latitude-with-world-coordinates/22356>\
**Category:** Cesium for Unity\
**Created:** [February 14, 2023, 2:12am UTC](https://community.cesium.com/t/how-to-accurately-correspond-longitude-and-latitude-with-world-coordinates/22356 "2023-02-14T02:12:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnn](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/nnn/32/11887_2.png) [@nnn](https://community.cesium.com/u/nnn)\
**Post date:** [February 14, 2023, 2:12am UTC](https://community.cesium.com/t/how-to-accurately-correspond-longitude-and-latitude-with-world-coordinates/22356/1 "2023-02-14T02:12:15Z")

</div>

I want to know the exact world coordinates of a certain latitude and longitude. Is the coordinate of the (0, 0, 0) point after I change the longitude and latitude each time the world coordinate of the current longitude and latitude?

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [February 14, 2023, 4:26am UTC](https://community.cesium.com/t/how-to-accurately-correspond-longitude-and-latitude-with-world-coordinates/22356/2 "2023-02-14T04:26:45Z")

</div>

To convert any longitude/latitude/height to Unity world coordinates, first call `CesiumWgs84Ellipsoid.LongitudeLatitudeHeightToEarthCenteredEarthFixed` to transform the longitude/latitude/height to Earth-Centered, Earth-Fixed Cartesian coordinates. Then, feed those coordinates to the `TransformEarthCenteredEarthFixedPositionToUnity` method on your CesiumGeoreference object to get the corresponding Unity world coordinates.

If you just want to play an object at a particular longitude/latitude/height, consider adding the CesiumGlobeAnchor component to your game object instead.

Kevin
