-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
KML timespan tag issue #4041
Comments
If you have any clues as to where this might be going wrong in the code, I'm happy to spend an hour or two to look into it. Guess it's all in KmlDataDource.js. Any other details to go on? |
I was the original poster of this bug report, and we are wondering am happy to see interest in fixing this problem. Is there anything more we can supply on this end? |
In looking at the post linked above, I wonder if our problem is also related to the GroundOverlay id? I don't give any of our GroundOverlays ids, but could easily do so. Here is the code from the attached file (Chile_2010.kmz renamed as Chile_2010.zip so it would attach)
|
Thanks for attaching the file @donnaaboise! Sorry we haven't had a chance to look into it yet. If anyone else has some time to look into the problem before then, we would love the help! |
I've attached a simplified set of KML files that will make it easier to debug the timespan issue I am having. To recap, the issue is that while Cesium is recognizing the timespan elements (the time slider at the bottom of the Cesium viewer moves and the dates are correct) the GroundOverlays all show up at once, not in their designated time span interval. Here is the code I am using :
As suggested in this post #4212 , maybe I need Ids (I am not using any). I added ids and targetIds to the GroundOverlays, but didn't mange to make anything work. If @dwhipps would like to look at this, that would be fantastic. It could be a very simple problem on the KML side, and not with Cesium. The animation works as expected in Google Earth. I've uploaded a screen shot and the simplified hierarchy of KML files. There are five PNG files, linked via Network links, and a three levels of doc.kml files. All the doc.kml files have been validated against the official KML schema (ogckml22.xsd). |
Has anyone had the chance to look at this problem? Thanks again for any help! We are eager to use Cesium, but do need the ability to load time span data. |
Thanks for checking in @donnaaboise! I've marked this for us to look at during our upcoming Bug Bash, which is October 19-21. We plan on looking into it then |
All, while I'd love to help out, I think my issue with this has been resolved (I had multiple nodes with the same ID.) Cesium was doing the right thing, per the KML spec. Sorry! |
Thanks @dwhipps. Can you tell me how to fix the IDs? I am not sure where to put them. |
Donna, The bug, in my case, wasn't that is was missing IDs, but that there were duplicate IDs. I simply renamed the IDs in the KML files themselves, and the problems resolved. Not however that my problem wasn't necessarily the same as yours. Certain KML nodes were not being created in my case, because of the duplicate IDs. Good luck, Dave |
Hi @donnaaboise, The KML timespan issue was just fixed and will be included in Cesium 1.27. However, when we were working on this we found a few more bugs that keep your Chile_2010 KMZ file from working properly (#4431 and #4477) We're going to try to fix those before the next release as well. Thanks! |
Great news! Thanks, @hpinkos ! When is the next release expected? |
@donnaaboise we the first weekday of every month, so 1.27 will be available November 1st |
Just saw that the Cesium 1.27 is available for download. Does this include the Python API as well? The version available at https://pypi.python.org/pypi/cesium was last uploaded on 10/7/2016. Will this be updated as well? I am eager to test the latest fixes! |
Hi @donnaaboise, we don't publish the Python API so I can't tell you when that will be updated |
I'll point out that is unrelated to CesiumJS (WebGL Virtual Globe and Map Engine) versus Cesium (Machine learning platform for time-series). |
Reported on the forum: https://groups.google.com/d/msg/cesium-dev/UrMK4Fku_Gk/Q-d6UmuRBAAJ
All of the images appear at once instead of following the timespan they are associated with
See the post for a link to the kmz file
The text was updated successfully, but these errors were encountered: