tag:blogger.com,1999:blog-21167013.post480993276066611700..comments2008-04-21T11:30:10.875-07:00Comments on EarthBrowser: KML, libkml and the "standard" mistakematt_gigerhttp://www.blogger.com/profile/08948284981378368476noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-21167013.post-83198673529840575992008-04-21T11:30:00.000-07:002008-04-21T11:30:00.000-07:00I'll happily take some heat for the lack of higher...I'll happily take some heat for the lack of higher level functionality in the current preview release of libkml. Indeed, the second sentence of the release notes cautions against use in production code at this early stage. :-)<BR/><BR/>We do intend to implement various higher level "engine" elements such as style merging. Thanks for the very constructive criticism, lxnyce. Good to hear that we're headed in the right direction.Michael Ashbridgehttp://www.blogger.com/profile/04114953960019317060noreply@blogger.comtag:blogger.com,1999:blog-21167013.post-7803385231845355482008-04-15T19:11:00.000-07:002008-04-15T19:11:00.000-07:00I agree with you Jason to a certain level. The sta...I agree with you Jason to a certain level. The standardization will keep out foreign extensions. <BR/><BR/>However, where I disagree, is that by standardizing, the format ends up being frozen. While I am no fan of Google holding onto a format, perhaps it's best to let them innovate atop the format at a much higher rate (listening to their huge user base requests), rather than let it stay stagnant for a year or two, then release updates that were useful a year or two ago.lxnycenoreply@blogger.comtag:blogger.com,1999:blog-21167013.post-67588143989970457722008-04-15T15:15:00.000-07:002008-04-15T15:15:00.000-07:00I respectfully disagree. Now is the most importan...I respectfully disagree. Now is the most important time to standardise KML, before all of the implementers start adding their own extensions and we end up with the mess that HTML became.<BR/><BR/>I expect Google to be heavily involved in shaping KML through the OGC, and although I don't doubt that this will slow innovation, I feel that standardisation is worth it.<BR/><BR/>libkml is incredibly alpha right now; the release notes talk about adding higher level functionality, so hopefully some of the levels of hierarchy will go away for common operations.jasonbirch.comhttp://www.jasonbirch.com/noreply@blogger.comtag:blogger.com,1999:blog-21167013.post-39752297316597859952008-04-15T04:36:00.000-07:002008-04-15T04:36:00.000-07:00I really agree with you thoughts about KML and sta...I really agree with you thoughts about KML and standardizing, however I kind of like the idea of having a library that does all the hard lifting for me.<BR/><BR/>Like yourself, I have implemented KML readers in the past. I transitioned to using LibKML recently, and I must say the library is ... for the lack of better words, not pretty.<BR/><BR/>It looks like they had some intern slap it together for them. It's hard to follow and the amount of hierarchies you have to go through is quite ridiculous.<BR/><BR/>The compelling argument I keep telling myself, is that updates to the reader will come automatic. Deep down, I know this is just me trying to validate using the library. The reality is that new features won't break old ones, so using the library won't give you them for free.<BR/><BR/>As of right now, I haven't seen a good reason to use the library really. It doesn't handle LOD calculations or region calculations for you. It simply parses the file and gives you interfaces for the data. I am hoping once I hit styles, using the library will pay off. I implemented the style map in the past, but hopefully this library will do all the aggregation for me.lxnycehttp://vizure.comnoreply@blogger.com