[Geoserver-devel] [jira] Created: (GEOS-836) HTML template engine for feature output

HTML template engine for feature output
---------------------------------------

                 Key: GEOS-836
                 URL: http://jira.codehaus.org/browse/GEOS-836
             Project: GeoServer
          Issue Type: Improvement
            Reporter: Chris Holmes
         Assigned To: Andrea Aime
             Fix For: 1.6.0

Currently about the biggest thing lacking in a GeoServer to MapServer comparison is lack of a templating language to control the output of a GetFeatureInfo request.

They have a powerful way to let people control the output.

I believe we can do one better, and much more easily, by leveraging existing Java templating engine. The foremost that I know of is Velocity http://jakarta.apache.org/velocity/

That's the easy. The better is using it for a number of different outputs. All these will be about 'display' of a feature, and we have a few different options for that. GetFeatureInfo will likely be one of the least used. I see no reason to not do GetFeature as well (give the user options). This also works perfectly for KML output, since right now we just dump a pre-formatted table. Users have definitely asked for the ability to control that. And GeoRSS is another that would work similarly, people prefer to control that output, rather than just dump - it's generally used as a thing to click on a map for more info.

--
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