Representing Geoserver's WMS-T as time-aware KML for GoogleEarth frontend

المشرف العام

Administrator
طاقم الإدارة
I'm using Geoserver to publish sets of hourly raster imagery and fought for a while to get a working example of Time Aware KML accessing my Geoserver to enable GoogleEarth as a frontend.

A snippet of my KML is below:

inun_elev_20060829T010000 2006-08-29T00:30:00Z 2006-08-29T01:30:00Z http://localhost:8080/geoserver/drf...0Z&layers=drf:Ernesto2006&styles=Inundation6m inun_elev_20060829T020000 2006-08-29T01:30:00Z 2006-08-29T02:30:00Z http://localhost:8080/geoserver/drf...0Z&layers=drf:Ernesto2006&styles=Inundation6m ...I made use of information from http://stackoverflow.com/questions/...th-big-complex-overlay-with-timeline-selector to get the time-aware backend working. Also, the suggestion from http://docs.geoserver.org/latest/en...ials/kmlplacemark/index.html#wms-demo-example of accessing the Geoserver's output as:

http://localhost:8080/geoserver/wms/kml?layers=tiger:poi...was very helpful. I had initially approached it as a NetworkLink to a WMS service in GoogleEarth, but that over-complicated things to the point of not working. Using the Geoserver-suggested KML links was much better than the URLs I found from point GE at a WMS.

For standard WMS-T, I inserted the TIME=timespan in the query strings per the above snippet, and corresponding KML:TimeSpan and it works.

I'm currently generating this KML file using a perl script, but I wonder if there are other/more-standard tools for generating time-aware KML from a time-aware WMS-T service?



أكثر...
 
أعلى