KML point features do not appear when uploading to Cesium Story

I am trying to upload a KML file with a small number of point features to my Cesium Story. However, only the labels appear, whilst the points themselves are invisible. Also only the top part of the labels seem to appear when viewing at certain angles.

Hello,

Could you please share the KML file here or email it to support@cesium.com? We can take a look at it.

Thanks,
Matt

Hello Matt, yes sure. I am uploading the file here. crit_infra_7sept1_new1.kml (24.2 KB)

Hi,

Thank you for sharing the data. There seem to be two problems here:

  1. The KML data labels are being cut off by the terrain.
  2. The terrain itself is not visible.

Are you normally able to see terrain in Cesium Stories? Could you please share your browser information (which browser and version)? If you haven’t already, I would recommend trying it in Chrome and seeing if you get the same result.

Thanks,
Matt

Hi Matt,

Thank you for your reply! I am not able to see the terrain, no. I just have the Bing Maps with Aerial layer and then my own layers on my story.

I am using Chrome already, this is the version: Version 93.0.4577.63 (Official Build) (64-bit)

Thank you
Josef

Hi Josef,

Thanks for the extra info. If you remove your own layers, do you see the terrain? Or if you open https://sandcastle.cesium.com/, do you see the Earth? Just trying to figure out at what point the terrain disappears for you (or if it’s simply never visible). I would expect your view to look like this:


(with Cesium World Terrain as the base terrain)

or


(with WGS84 as the base terrain)

Thanks,
Matt

Hi Matt,

Thank you for your message. When I remove my layers and the Bing imagery layer, I just have a blank blue screen (as below). The imagery layer works fine though when toggled on, as in the example below.
image.png

I actually do not see the symbols of the KML at all, only the labels, but the bottoms of these are cut off as mentioned.

When opening Sandcastle, I see this:

image.png

Thanks
Josef

Hi Josef,

Thank you, all of that was helpful information. I have a partial fix for you so far, which will at least allow you to see and work with the data with the KML symbols in Sandcastle. I’ve been able to reproduce the problem in Cesium Stories—we are in the process of investigating that portion of this.

For now, please try the following:

  1. Open the KML file in a text editor.
    Find and replace all instances of “http://maps” with “https://maps”. Here’s the file with that edit: crit_infra_7sept1_new1.kml (24.3 KB)
  2. Upload the revised KML file to Cesium ion.
  3. Once the upload is complete, select the asset in My Assets and then, in the right sidebar, click on Open complete code example.

Please let me know if that lets you see the KML labels (images and text) in Sandcastle without them being cut off.

Thanks,
Matt

Hi Josef,

I also saw via the support inbox that you are experiencing performance issues with Cesium Stories. Could you please share the ion asset IDs for the assets you are using in your Story? We’ll try to reproduce the problem and provide advice.

Thanks,
Matt

Hi Matt,

Thank you very much for your help. The kml and labels are appearing now, so we seem to be getting there! However, the symbols are still cut off by the terrain - how can I get the symbols to lay on top of the terrain?

Actually it seems OK speed-wise at present. I will let you know if this changes again. Thank you

Hi Josef,

Great! Glad to hear that the the icons are now appearing. With respect to the symbols being cut off, this is an issue with Cesium Stories, and we’ve opened a ticket to address it. Thank you for bringing it to our attention. I will provide an update here once a solution is available.

Thanks,
Matt