-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not displaying GroundOverlay in KML file. #4212
Comments
Thanks @dwhipps! For visibility, from looking at the code it looks like that is being processed correctly. When is sees visibility of zero, it sets show to false. I think we still want to process it in case a user wants to set show to true later on. |
It's not clear on whether this has a decent chance of getting fixed. It's a bit of a show-stopper, as nothing at all renders. |
Sorry, I can't promise that we'll be able to get to it immediately. |
@dwhipps thanks for the report. If you're up for it, there's no need to "wait for us" to do something, Cesium is a community with lots of contributors and we are more than happy to take a pull request for this or any other issue. This sounds like something that would be isolated to code in |
After further investigation, this appears to be a case of Google Earth (and WolrdWind) being more lenient than Cesium. There were multiple GroundOverlay nodes with the same node "id" (these should be unique), so when I confirmed this by simply changing the duplicated node ids. All was fine after that. In short, I don't think this is actually a bug in Cesium. Not sure if there's a way to warn if multiple nodes are found with the same ID, but seems like a real edge-case. I'm closing this issue. |
This is likely a two-part ticket, but for starters, the KML file I have here:
https://earthdata.layeredearth.com/Layers/Earth/Climate%20Change/Other/Malaria%20in%20Africa%20Projections.kmz
... does not display anything in Cesium, seen in SANDCASTLE here:
http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=a2c8d3fa055a3a341114040331265ac7
I suspect this has to do with the nested elements in the kml, but I can see that processGroundOverlay is getting called, they're just not being displayed.
(The second part of this, which I'll put in a separate ticket, is that Cesium shouldn't be processing feature nodes unless they're 'visible' as defined here: https://developers.google.com/kml/documentation/kmlreference#folder)
The text was updated successfully, but these errors were encountered: