<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello to all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have managed to expose a KML file as a WMS layer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now I want to allow GetFeatureInfo for the layer in my OpenLayers client.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Attributes are stored as follows in the KML file :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;ExtendedData&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">&lt;SchemaData schemaUrl=&quot;#country&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">&lt;SimpleData name=&quot;CNTRY_NAME&quot;&gt;Aruba&lt;/SimpleData&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">&#8230;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">&lt;/SchemaData&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;/ExtendedData&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have added : &#8220;KML_INCLUDE_ITEMS all&#8221; in the METADATA tag&nbsp; of the LAYER declaration part without success.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How must I configure the mapfile for that ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sébastien<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="color:black;mso-fareast-language:FR">Sebastien FAVRE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><span lang="EN-US" style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR">Software Engineer | Spot Image<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><span style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR">GEO-Information Services<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><b><span style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:FR"><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal" style="line-height:120%"><b><span style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:FR">Astrium Services</span></b><span style="font-size:8.0pt;line-height:120%;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><span style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:FR">2600 route des Crêtes, BP 282</span><span style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><span lang="EN-US" style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR">F-06905 Sophia Antipolis Cedex, France<br>
Tel: &#43;33 (0) 4 97 23 24 12 |&nbsp;Fax: &#43;33 (0) 4 93 95 83 29<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:120%"><span lang="EN-US" style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR"><a href="mailto:sebastien.favre@spotimage.fr"><span style="color:blue">sebastien.favre@spotimage.fr</span></a><span style="color:#5F5F5F">
 | </span></span><span style="mso-fareast-language:FR"><a href="http://www.spotimage.com/"><span lang="EN-US" style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">www.spotimage.com</span></a></span><span lang="EN-US" style="font-size:8.0pt;line-height:120%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#2B3616;mso-fareast-language:FR"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#5F5F5F;mso-fareast-language:FR">&gt;&gt; Spot Image &amp; Infoterra are teaming up.&nbsp;The
<b>GEO-Information</b>&nbsp;<b>Services division of</b> <b>Astrium</b> will bring a consolidated&nbsp;portfolio of services &amp; products to customers worldwide.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#2B3616;mso-fareast-language:FR"><img border="0" width="204" height="40" id="Image_x0020_2" src="cid:image001.png@01CBE7B5.019722D0" alt="Description&nbsp;: Description&nbsp;: Description&nbsp;: Description&nbsp;: Description&nbsp;: Description&nbsp;: Description&nbsp;: cid:image001.png@01CBAC1D.6B514B70"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>