Using the Geoserver time.ftl template for WMS-T kml

المشرف العام

Administrator
طاقم الإدارة
On http://geoserver.geo-solutions.it/edu/en/google_earth/time.html it appears that one might configure Geoserver to generate time-aware KML wrapped around a time-aware Geoserver instance (one that serves WMS-T) by adding a time.ftl template.

I tried posting a time.ftl file like:

${vtime.value}that matches the TimeAttribute in my currently-working indexer.properties file:

Caches=noTimeAttribute=vtimeElevationAttribute=elevationSchema=*the_geom:polygon,location:String,vtime:java.util.Date,elevation:Integer,extra:Date,extra2:FloatPropertyCollectors=TimestampFileNameExtractorSPI[timeregex](vtime),TimestampFileNameExtractorSPI[timeregex](extra)... but I'm not seeming to get the the time aware kml out of GeoServer.

Per Representing Geoserver's WMS-T as time-aware KML for GoogleEarth frontend I am able to externally write kml using the Geoserver time-aware WMS-T and get a time-slider for my localhost private data, but it is unclear what is necessary to augment the GeoServer KML reflector with the time element.

Is the time.ftl template file all that is needed for automatically generated time-aware kml, or is there something more?



أكثر...
 
أعلى