[Geoserver-devel] [jira] Created: (GEOS-1150) Investigate removing extra 'document'

Investigate removing extra 'document'
--------------------------------------

                 Key: GEOS-1150
                 URL: http://jira.codehaus.org/browse/GEOS-1150
             Project: GeoServer
          Issue Type: Improvement
    Affects Versions: 1.5.1
            Reporter: Chris Holmes
            Assignee: Justin Deoliveira
             Fix For: 1.5.2, 1.6.0-beta1

In our KML responses we seem to have a lot of nested 'documents', which on google earth makes it so every element is nested. And we're only picking up the nice names/titles for the nested elements, so on the side panel all the elements are still named states.3, ect.

Unfortunately we're not entirely sure if there was some good reason for all that nesting, but we should try it out without and see if it works better. This will mean we will likely just embed the styles directly instead of doing the styleURL, but I don't believe we were getting any advantages from that, since we'd make a new style for every feature. In some future world we could maybe leverage the caching that symbolizers do, and only make each style once. Though that will be tricky, since values can change depending on a variety of factors. But if we figure that out we should do a super class that handles SVG too, since it has the same approach as KML to style elements. Anyways, I'll stop rambling, none of this is that related.

But be sure to investigate returning multiple layers at once, ect. with KML, whatever potential cases there could have been for doing all the nested documents.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira