[Mapserver-users] querymap with WMS GetFeatureInfo

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


Hi,

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

<table cellpadding="3" cellspacing="0" border="0">
 <tr>
  <td><img border="2" src="[img]"></td>
  <td><img border="2"
src="[program]?map=[map]&queryfile=[map_web_imagepath]DEMO[id].qy[get_la
yers]&mode=map&size=200+200"></td>
 </tr>
 <tr>
  <th align="center">standard querymap</th>
  <th align="center">cached query</th>
 </tr>
</table>

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

Cheers

..Tom

=========================
Tom Kralidis
Systems Scientist
Environment Canada
Tel: +01-905-336-4409
http://www.ec.gc.ca/




More information about the mapserver-users mailing list