<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Bart,<br>
<br>
I think that is what I already did. Instead of feature_info_mime_type,
I got wms_feature_mime_type; can that be a typo? <br>
I added feature_info_mime_type to the web section to test, but there is
no effect, still no featureinfo. I am also posting on the flamingo-mc
forum to see if they got some suggestions.<br>
<br>
In the Map section I got:<br>
&nbsp;<br>
---- snippet ----<br>
WEB<br>
&nbsp;&nbsp;&nbsp; IMAGEPATH 'E:/maptemp/'<br>
&nbsp;&nbsp;&nbsp; IMAGEURL '/ms_tmp/'<br>
&nbsp;&nbsp;&nbsp; HEADER "./templates/query_header.html"<br>
&nbsp;&nbsp;&nbsp; FOOTER "./templates/query_footer.html"<br>
<br>
&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "Bouwfonds - Digitale kaart"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_onlineresource"
<a class="moz-txt-link-rfc2396E" href="http://www.xx.xx/cgi-bin/mapserv.exe?map=E:\\mapconfig\\bouwfonds.map">"http://www.xx.xx/cgi-bin/mapserv.exe?map=E:\\mapconfig\\bouwfonds.map"</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs" "EPSG:4326 EPSG:28992"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ows_schemas_location" <a class="moz-txt-link-rfc2396E" href="http://schemas.opengis.net">"http://schemas.opengis.net"</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_feature_mime_type" "application/vnd.ogc.gml"<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
<br>
And for my Layer:<br>
<br>
---- snippet ----<br>
LAYER<br>
&nbsp;&nbsp;&nbsp; NAME 'percelen'<br>
&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>
&nbsp;&nbsp;&nbsp; DUMP TRUE<br>
&nbsp;&nbsp;&nbsp; TEMPLATE 'ttt'<br>
&nbsp;&nbsp;&nbsp; DATA '.\mapdata\rga\percelen_laag_poly_merged.shp'<br>
&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "percelen"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs" "EPSG:28992"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "gml_featureid" "id"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "gml_include_items" "all"<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp; TRANSPARENCY 100<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:28992"<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'percelen'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 0 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 6<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 180 208 208<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #COLOR 180 208 208<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
<br>
<br>
Bart van den Eijnden schreef:
<blockquote
 cite="mid:1ebb87870801300931j8faf4dcv6e89164ba254b235@mail.gmail.com"
 type="cite">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
&lt;<a moz-do-not-send="true" href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a>&gt;
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>
</blockquote>
<br>
</body>
</html>