question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add KML export Sandcastle example

See original GitHub issue

The PR https://github.com/AnalyticalGraphicsInc/cesium/pull/7921 adds a function to export an EntityCollection in Cesium as KML/KMZ document. There’s an example in the doc, but it would be nice to have a full code example that includes the required blob downloading as well. See Fili’s code snippet here: https://github.com/AnalyticalGraphicsInc/cesium/pull/7921#issuecomment-505019659

It would be cool to use one of these CZML’s as a source: https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=CZML.html

Or the extruded GeoJSONs here, so the example shows you how to import a GeoJSON, modify it, then export it:

https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=GeoJSON and TopoJSON.html

Would also be nice to show how to use the modelCallback to handle rewriting the model URLs. This would be a great first contribution I think!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tfilicommented, Jun 27, 2019
0reactions
OmarShehatacommented, Jun 27, 2019

I did think a Sandcastle example would be useful, especially to show the download code + rewriting model URLs which may not be obvious. I merged without waiting on that because I figured we could add a fuller example than the one in the doc later, so that was my bad.

Read more comments on GitHub >

github_iconTop Results From Across the Web

exportKml - Cesium Documentation
Exports an EntityCollection as a KML document. Only Point, Billboard, Model, Path, Polygon, Polyline geometries will be exported.
Read more >
Cesium in 2015 - KML - Google Groups
Loading KML programmatically is just as easy as loading CZML or GeoJSON. I also added a SandCastle example. viewer.dataSources.add(Cesium.KmlDataSource.
Read more >
How to load kml file on cesium resium react components
kml "} /> <GeoJsonDataSource data={data} /> </Viewer> ); export default hot(App);. I should receive a similar result of this. https://sandcastle.
Read more >
KML Tutorial | Keyhole Markup Language - Google Developers
The KML Samples file has an example of almost everything you can do with Placemark text. You can add links, font sizes, styles,...
Read more >
Export KML for Google Earth - Fusion Tables Help
Export KML for Google Earth · Map styles and info windows. · Geocoding done within Fusion Tables is not exported. Google Earth will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found