Milo,<br><br>the WMS client determines the info_format. I assume QGIS is asking for MIME or text/plain.<br><br>You need to add the following METADATA to your layers:<br><br>OWS_INCLUDE_ITEMS "all"<br><br>Maybe even GML_INCLUDE_ITEMS "all" I am not sure. Give it a try.<br>
<br>If Flamingo wants GML, it will request with info_format=application/vnd.ogc.gml. If it doesn't you can probably set the default/MIME format of Mapserver to this (METADATA at the WEB level called feature_info_mime_type).<br>
<br>Template can remain empty, I always TEMPLATE blank.html where blank.html does not even exist on the filesystem.<br><br>Best regards,<br>Bart<br><br><div class="gmail_quote">On Jan 30, 2008 5:48 PM, Milo van der Linden <<a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello list,<br><br>I have been spending 4 hours looking around the mapserver website and<br>
various other resources but no luck.<br><br>As a Mapserver WMS client I am using flamingo-mc. flamingo-mc is able to<br>perform a getFeatureInfo and requires gml as response.<br><br>For now I have some sort of response because with qGIS I get:<br>
WMS identify result for 225, 337<br><br>---------------<br><br>GetFeatureInfo results:<br><br>Layer 'percelen'<br><br>Feature 507:<br><br><br>But it is clearly no gml and I haven't set the fields from the table to<br>
be returned.<br><br>So:<br><br>- What do I have to put in my (currently empty) TEMPLATE file?<br>- Can I enter all the GML that I need to return in my TEMPLATE and does<br>anyone have a sample for this?<br><br>- How can I make sure that the information returned is in the gml mime-type?<br>
<br><br>Any help would be appreciated!<br><br>Kind regards,<br><font color="#888888"><br>Milo van der Linden<br></font></blockquote></div><br>