On Thu, Jun 20, 2013 at 5:04 PM, Chris Holmes <cholmes@anonymised.com> wrote:
Right, this was what I thought we should do by default even in the WMS.
Like in the previous one we generated a weird html table, since when we
wrote it that's all you could do. Then they came out with the extended data
concept, which seemed way cleaner. So seems like we should have extended
data as the default for WMS, and then 'description' ftl would over write it
(and can add extendeddata=true if you want both). Is that how you did it?
Or does it still generate the super lame html table:
!extendedData.jpg|467x376
The current output looks nicer, and imho, it's actually nicer than what GE
does with the extended data. See here, standard output with our built-in
template:
!placemark-html.jpg|347x171
and the output with the extended data, and disabling our description popup
(kmattr=false&extendeddata=true):
!standard.jpg|560x439
* no time and elevation templates (this could be added back if needs be)
So the time and elevation templates are just lame now, since GeoServer is
now time and elevation aware, thanks to all the amazing work GeoSolutions
did. Like even with vectors you can set your time and elevation field
directly in the admin GUI. The only reason we had those lame templates is
because we had no way to do that. So it seems like the ideal thing to do is
to have KML just hook directly in to the time and elevation configuration
of GeoServer, and drop the silly .ftl's. Thoughts? Or plans to do this? Or
did you already do it?
I haven't done it yet, we are considering doing it for the time dimension,
as that would make most sense.
Easy to do with vector data, more complicated with raster, where I'd have
to generate a sequence of ground overlays.
Elevation instead does not fit in my opinion: the height template is really
an extrusion template, whilst the wms elevation
is (often, but not always) the altimetric height of the feature/raster. And
often it's a bathimetry, something that I believe
GE would not show as the object would end up below the ground.
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------