# How do I show the GeoJSON contour line properly on the globe?

**URL:** <https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011>\
**Category:** CesiumJS\
**Created:** [April 7, 2021, 6:59am UTC](https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011 "2021-04-07T06:59:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiroshi\_Yaginuma](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hiroshi_yaginuma/32/10887_2.png) [@Hiroshi\_Yaginuma](https://community.cesium.com/u/Hiroshi_Yaginuma)\
**Post date:** [April 7, 2021, 6:59am UTC](https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011/1 "2021-04-07T06:59:25Z")

</div>

Hi,

When I uploaded my GeoJSON contour line into the Cesium Ion,  
It showed it like this:

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

This is what I expected,

 ![image](https://global.discourse-cdn.com/cesium/original/2X/6/68bbfcd839c99d00f3088ed05911698f5d0f709a.jpeg)

Is there any way to solve this?

Ultimately, I would like to overlay it upon my point cloud like this on by CesiumJs,

 ![image](https://global.discourse-cdn.com/cesium/original/2X/c/ca8b54ea1cc0fab9f522bba1e4d06d2c6d425330.png)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Hiroshi\_Yaginuma](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hiroshi_yaginuma/32/10887_2.png) [@Hiroshi\_Yaginuma](https://community.cesium.com/u/Hiroshi_Yaginuma)\
**Post date:** [April 7, 2021, 8:43am UTC](https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011/2 "2021-04-07T08:43:05Z")

</div>

KML is giving me a 2D image

![image](https://global.discourse-cdn.com/cesium/original/2X/9/9623edba00cf99b1fe087d0c4686d7effbac6550.jpeg)

---

<div class="post-metadata">

**Author:** ![dzung](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/dzung/32/2996_2.png) [@dzung](https://community.cesium.com/u/dzung)\
**Post date:** [April 7, 2021, 7:12pm UTC](https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011/3 "2021-04-07T19:12:52Z")

</div>

Hi! Can you send the asset id of the GeoJSON and KML files to [support@cesium.com](mailto:support@cesium.com)?

---

<div class="post-metadata">

**Author:** ![dzung](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/dzung/32/2996_2.png) [@dzung](https://community.cesium.com/u/dzung)\
**Post date:** [April 12, 2021, 2:38pm UTC](https://community.cesium.com/t/how-do-i-show-the-geojson-contour-line-properly-on-the-globe/13011/4 "2021-04-12T14:38:12Z")

</div>

For the KML asset:

- To see elevation, please add a terrain provider. For instance, you can add the Cesium World Terrain with the code below

```auto
var viewer = new Cesium.Viewer("cesiumContainer", {
  terrainProvider: Cesium.createWorldTerrain()
});

```

Here is what the file looks like after adding world terrain:

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

The elevation is still off. This might be caused by unsupported tags in the KML file. If you open the asset in [Sandcastle](https://sandcastle.cesium.com/?src=Hello%20World.html&label=Showcases&code=eyJjb2RlIjoiLy8gR3JhbnQgQ2VzaXVtSlMgYWNjZXNzIHRvIHlvdXIgaW9uIGFzc2V0c1xuQ2VzaXVtLklvbi5kZWZhdWx0QWNjZXNzVG9rZW4gPSBcImV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUpxZEdraU9pSmpNakU0TW1WaVpDMHlPREprTFRRMVpEZ3RZVEJoT1MwMllqUXlOelU1T1dabU1HUWlMQ0pwWkNJNk16UXdOVGdzSW1saGRDSTZNVFl3TnpVME1EY3lOWDAueGtQTVlkZjU3N3JJcC1qaVI4NDZ0OFdrTlpfMF81OXpBTVAtSUpUYWJvY1wiO1xuXG52YXIgdmlld2VyID0gbmV3IENlc2l1bS5WaWV3ZXIoXCJjZXNpdW1Db250YWluZXJcIik7XG5cbnZhciBwcm9taXNlID0gQ2VzaXVtLklvblJlc291cmNlLmZyb21Bc3NldElkKDQzMzgxNilcbiAgLnRoZW4oZnVuY3Rpb24gKHJlc291cmNlKSB7XG4gICAgcmV0dXJuIENlc2l1bS5LbWxEYXRhU291cmNlLmxvYWQocmVzb3VyY2UsIHtcbiAgICAgIGNhbWVyYTogdmlld2VyLnNjZW5lLmNhbWVyYSxcbiAgICAgIGNhbnZhczogdmlld2VyLnNjZW5lLmNhbnZhcyxcbiAgICB9KTtcbiAgfSlcbiAgLnRoZW4oZnVuY3Rpb24gKGRhdGFTb3VyY2UpIHtcbiAgICByZXR1cm4gdmlld2VyLmRhdGFTb3VyY2VzLmFkZChkYXRhU291cmNlKTtcbiAgfSlcbiAgLnRoZW4oZnVuY3Rpb24gKGRhdGFTb3VyY2UpIHtcbiAgICByZXR1cm4gdmlld2VyLnpvb21UbyhkYXRhU291cmNlKTtcbiAgfSlcbiAgLm90aGVyd2lzZShmdW5jdGlvbiAoZXJyb3IpIHtcbiAgICBjb25zb2xlLmxvZyhlcnJvcik7XG4gIH0pO1xuIiwiaHRtbCI6IjxzdHlsZT5cbiAgQGltcG9ydCB1cmwoLi4vdGVtcGxhdGVzL2J1Y2tldC5jc3MpO1xuPC9zdHlsZT5cbjxkaXYgaWQ9XCJjZXNpdW1Db250YWluZXJcIiBjbGFzcz1cImZ1bGxTaXplXCI+PC9kaXY+XG48ZGl2IGlkPVwibG9hZGluZ092ZXJsYXlcIj5cbiAgPGgxPkxvYWRpbmcuLi48L2gxPlxuPC9kaXY+XG48ZGl2IGlkPVwidG9vbGJhclwiPjwvZGl2PlxuIn0=), you can see in the console an error saying “Placemark Regions are unsupported”. CesiumJS currently does not support Placemark tags. You can read more about KML support and roadmap here: [KML Support · Issue #873 · CesiumGS/cesium · GitHub](https://github.com/CesiumGS/cesium/issues/873).

I am still looking into the GeoJSON file. I will get back to you soon.
