<!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>
<br>
---- snippet ----<br>
WEB<br>
IMAGEPATH 'E:/maptemp/'<br>
IMAGEURL '/ms_tmp/'<br>
HEADER "./templates/query_header.html"<br>
FOOTER "./templates/query_footer.html"<br>
<br>
METADATA<br>
"wms_title" "Bouwfonds - Digitale kaart"<br>
"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>
"wms_srs" "EPSG:4326 EPSG:28992"<br>
"ows_schemas_location" <a class="moz-txt-link-rfc2396E" href="http://schemas.opengis.net">"http://schemas.opengis.net"</a><br>
"wms_feature_mime_type" "application/vnd.ogc.gml"<br>
END<br>
END<br>
<br>
And for my Layer:<br>
<br>
---- snippet ----<br>
LAYER<br>
NAME 'percelen'<br>
TYPE POLYGON<br>
DUMP TRUE<br>
TEMPLATE 'ttt'<br>
DATA '.\mapdata\rga\percelen_laag_poly_merged.shp'<br>
METADATA<br>
"wms_title" "percelen"<br>
"wms_srs" "EPSG:28992"<br>
"gml_featureid" "id"<br>
"gml_include_items" "all"<br>
END<br>
STATUS ON<br>
TRANSPARENCY 100<br>
PROJECTION<br>
"init=epsg:28992"<br>
END<br>
CLASS<br>
NAME 'percelen'<br>
STYLE<br>
SYMBOL 0 <br>
SIZE 6<br>
OUTLINECOLOR 180 208 208<br>
#COLOR 180 208 208<br>
END<br>
END<br>
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
<<a moz-do-not-send="true" 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>
</blockquote>
<br>
</body>
</html>