Tuesday, February 03, 2009

New KML extensions?

There appears to be a few new KML extensions with the new Google Earth 5.0 release. As someone who has to keep up with my own implementation of the KML standard, this is of great interest to me. The new extensions seem to mostly be geared toward creating animated tours, a laudable goal. I think that is a great improvement in providing the ability for everyone to create more eye candy using GE. For some reason they just added a new namespace "gx" rather than putting out a new version of the spec. I guess this makes sense since the core functionality didn't change much and they can roll the new elements into the main spec in a future version.

The <gx:TimeSpan> and <gx:TimeStamp> tags are what most interest me. The spec quotes that they are merely copies of their standard KML namesakes, but that they "allow for the inclusion of time values in AbstractViews" and "Time values are used to control historical imagery, sunlight, and visibility of time-stamped Features". I don't know why they had to add copies in a different namespace when they could have just allowed the non gx versions to be included in the <Camera> and <LookAt> tags. What I think this all means is that you can now control the timeline of visible features using the <Camera> tag. A huge improvement. however I've spent a year or two going down the road of trying to create dynamic animations using static control values to hardwired algorithms. It will get you down the road a little ways, but it is a totally inflexible and brittle way of defining 3D animation.

I am a little disappointed that they didn't include time coordinates as I suggested last summer. I think that I mentioned at the time that I had no interest in spending time getting that feature through the appropriate committees to make it happen, but I think that at this point I probably would, even though I have less time available now. The time coordinates I proposed, based on modified julian date, are tremendously useful.

As an example, the new EarthBrowser Site Tracker uses them to define the animated visitor hits. Basically each visitor hit looks like this:
<coordinates>coord0 coord1 coord2 ...</coordinates>
<ebr:time>mjd0 mjd1 mjd2 ...</ebr:time>

The interesting parts are the <ebr:time> and <ebr:fade> tags. What they specify are the modified julian date time value at which each coordinate in the LineString occurs. This provides an easy way to animate a single placemark by using linear interpolation to calculate intermediate locations for smooth animation and also provides the ability to show a cool time based fade effect. The <ebr:fade> specifies that after 1.5 hours the line trace should fade. I use these two KML extensions with the Satellite orbits in the latest version of EarthBrowser and also in the site tracker tool. To do something roughly equivalent in current KML, you would have to provide thousands of Placemarks each with their own TimeSpan and geometry, there would be no smooth animation or fade effect and it would take many megabytes for each placemark. With these two simple extensions I can display some really interesting features with effects in a single placemark with a very small footprint. If anyone from the OGC or Google is interested in contacting me about helping these extensions get through to the next spec, please post a comment or send me an email.


barryhunter said...

The reason for the extension, is KML is now controled by the OGC, so Google cant just add stuff to KML. Technically they could of put the additions up for consideration into the public standard, but that would either entail showing their hand before releasing the next version of Google Earth (very un Googley), or implementing and supporting the next version before it becomes (or is even submitted to) part of the real KML standard - with the risk that OGC could choose to change it.

Its possible/probably that these extensions will now be submitted to the OGC, and that the client can the either support 2.2+extension or 2.3 which has the entensions built in (without the gx prefix)

Anonymous said...

Interesting site when I noticed my coworker ran it on her Mac.
As an aviation buff, it would be nice to have flight tracker as a plugin to the software as an additional selling point.

Music courses online sydney said...

Thanks for give me information on this topic.Music coures online sydney you have sharing very nice post.

Shaaban Mohamed said...

شركة تنظيف بالدمام
شركة تنظيف فلل بالدمام
شركة تنظيف شقق بالدمام
شركة تسليك مجاري بالدمام
شركة مكافحة حشرات بالدمام
شركة كشف تسربات المياة بالدمام

شركة مكافحة النمل الابيض بالخبر
شركة مكافحة النمل الابيض بالجبيل
شركة مكافحة النمل الابيض بالقطيف
شركة مكافحة النمل الابيض بالاحساء

شركة كشف تسربات المياة بالخبر
شركة كشف تسربات المياة بالقطيف
شركة كشف تسربات المياة بالجبيل
شركة كشف تسربات المياة بتبوك
شركة كشف تسربات المياه بالباحة

Vinamilk Vinamilk said...

Gaming world where everyone entertained with games like Run 3 unblocked or Run 4 unblocked or Run unblocked . The adventure racing game as Car Racing Games or game that a lot of people like the Super Mario Unblocked or Donkey Kong Unblocked is also very attractive. Have fun!

Alex John said...

I appreciate this work amazing post for us I like it.
Harvard Case Analysis

Andrew Austin said...

Thanks for sharing such useful post keep it up :)
Mechanical Engineering Homework Help

Alison Andrew said...

This is really great work. Thank you for sharing such a useful information here in the blog.
programming homework

Damon D'souza said...

I loved the way you discuss the topic great work thanks for the share.
Nursing Writing Service

Wilson Larrie said...

Our website is number 1 in Matlab help. This is preferred destination for various students to get their Matlab Homework & Assignment help taken from. We also provide Tutors for Matlab.
Matlab Homework Help

David Paul said...

We are No. 1 in Electronics Engineering Assignment Help; Hire us for your Electronics Engineering Project and Homework Help.
Electronics Project Help

ابومحمود عبدو said...

شركة مكافحة حشرات بخميس مشيط

شركة كشف تسربات بابها

شركة تنظيف خزانات بابها

Michael Jones said...

Searching for an assignment helper that assists you in writing academic writing. Visit our site and get ready to get your assignment written by well-qualilfied assignment writers.Assignment Help

Abel Ahar said...

for beginners like me need a lot of reading and searching for information on various blogs. and articles that you share a very nice and inspires me .
cara menggugurkan kandungan
obat aborsi
kalkulator kehamilan

Ppc Manager said...

I love those sites :

http://www.frive.link/ http://www.juegosfriv.one/ http://www.unblockedgames.space/ http://www.friv.run/
http://www.cricket-games.co.in/ http://www.friv.press/

Wilson Larrie said...

I personally like your post, you have shared good article. It will help me in great deal.
Assignment Homework Help

Suzzane Joanna said...

essay help
Really i appreciate the effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up . Thanks for sharing.

Assignment Helper said...

economics homework
This was a great and interesting article to read. I have really enjoyed all of this very cool information

Friv Games said...

all sites free



kids piano classes said...

Nice blog. thanks for sharing with us.
music classes for adults

ekhwaa ksa said...

تبحث عن كيفيه عزل الفوم او افضل شركة عزل فوم بالرياض لا تتردد فى الاتصال بنا فنحن نتشرف بخدمتكم مع الضمان 10 سنوات خدمه عزل الفوم من قبل شركه الاخوه تتم من خلال استخدام أفضل المواد وبأفضل الطرق

Unblocked games said...

Good and usefull thanks for article.
match 3 games | Mario flash games | Kizi | 2 player games | Online games | Math games| Free solitaire

Alice Taylor said...

You’ve written nice post, I am gonna bookmark this page, thanks for info. I actually appreciate your own position and I will be sure to come back here.

facebook español

Marcelus-Author said...

You Have a very beautiful web blog here. This coupled with the great content makes it one of the best blogs online. Thanks for sharing information. Risk-return assignment help online