Hey all. How can I configure the WMS service to use a different template 
for GetFeatureInfo requests, based on the layer (typename) being requested?

Both of these refer to content.ftl, and this does work. But what if I 
want different output based on the typename? For example, a state won't 
have the same output as a tree.

http://geoserver.org/display/GEOSDOC/GetFeatureInfo+templates

http://augusttown.blogspot.com/2010/01/customize-wms-getfeatureinfo-response.html

Am I really forced to fetch the featureinfo in XML format and parsing it 
client-side?

-- 
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
    Network+   Server+   A+   Security+   Linux+
    PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

"No one cares if you can back up — only if you can recover."

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to