[Mapserver-users] querymap with WMS GetFeatureInfo

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Jun 21 08:29:27 EDT 2004


In the itasca demo, demo_footer.html provides the following query footer
template chunk:

<table cellpadding="3" cellspacing="0" border="0">
  <td><img border="2" src="[img]"></td>
  <td><img border="2"
  <th align="center">standard querymap</th>
  <th align="center">cached query</th>

...which, when running the demo in query mode, provides a querymap and
cached querymap image.

As we are aware, MapServer query templates get used whenever OGC:WMS
GetFeatureInfo is called with info_format=text/html.

My question is how would one replicate the querymap-ish behaviour
through an HTML template in WMS server mode?  The chunk above in WMS
server mode returns blank images, most likely because the template
values are usually passed through a HTML form-based app.



Tom Kralidis
Systems Scientist
Environment Canada
Tel: +01-905-336-4409

More information about the mapserver-users mailing list