I have a KML file containing wind vectors represented as LineString. I notice that it takes a lot of memory and a long time to render these vectors using Cesium comparing to using Google Earth plugin. The rendering quality of the vectors in Cesium is also not as good as GE. If I overlay the vectors on top of an image (using GroundOverlay in KML), it looks fine when displaying the globe in 3D. If I switch to the 2D view, the vectors got under the image layer and I can’t make it appear on top of the image.
I did some benchmarking using Safari, Chrome, and Firefox on my MacBook, the results are similar. For a KML file containing about 38,800 vectors, it takes about 1.3GB memory to render the file in Firefox using Cesium and only 0.06 GB using GE plugin. It took 15+ seconds to get the vectors displayed using Cesium and less than a second in GE plugin. Is there a way to improve the performance? Is the time mostly spent in parsing the KML files? If I use other representation for the vectors, such as GeoJSon, will that improve the memory usage and speed?
Thanks for your help!