[mapserver-users] Generic template for WMS GetFeatureInfo
Hollingbery, Julian
julho at kms.dk
Wed Sep 14 06:39:33 PDT 2011
Hi list,
I too want to serve GetFeatureInfo requests. However, I wonder if it is
necessary to have a template per layer, when all I want to do is "show
all attribute values in a HTML table". The thing is, I have a handful of
services with approx. 40 layers in each. Each layer has on average a
dozen attributes, so all in all, I am looking to simplify maintenance of
2000 HTML table cells. Has anyone done anything in a script or
otherwise, so that one can use the same template file on layers with
varying attribute lists?
I am considering utilising the fact that a TEMPLATE statement can
reference a URL: I imagine that this might refer to a PHP-script, which
takes e.g. a database table name, and returns a HTML response with the
column names. Has anyone done anything like this?
Regards,
Julian Hollingbery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110914/a30df246/attachment.htm>
More information about the MapServer-users
mailing list