<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:12.0pt;
        font-family:"Times New Roman","serif";}
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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.Shkpostityyli19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.Shkpostityyli20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 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="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I have never tried to cascade GetFeatureInfo from Mapserver to other WMS servers but I have tried to do that when Geoserver
 is used for cascading our Mapserver. I would say that it is complicated.  First issue is that the list of supported info_formats is a per service feature, not per layer. For example Geoserver by default supports these formats:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><GetFeatureInfo><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>text/plain</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>application/vnd.ogc.gml</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>application/vnd.ogc.gml/3.1.1</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>text/html</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>text/javascript</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><Format>application/json</Format><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">If I try to cascade Mapserver WMS that is configured to support only info_format=text/html with Geoserver, then users
 can’t know that info_format=text/plain can’t work with the cascaded layer. Actually no info_format will work in this theoretical case because Geoserve is always using “application/vnd.ogc.gml” when it cascades GetFeatureInfo but our Mapserver was  not configured
 to support that.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I have no idea about how Mapserver should be configured to support GetFeatureInfo for cascaded WMS layers. I do not
 believe that it is even possible to do it generally in a reliable way so that any WMS could do it successfully with any other WMS. Probably Mapserver can do is in some cases because
<a href="http://mapserver.org/ogc/wms_client.html">http://mapserver.org/ogc/wms_client.html</a> documents<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Symbol">·</span><span lang="EN-US">  GetFeatureInfo is not fully supported since the output of getFeatureInfo is left to the discretion of the remote server. A method layer.getWMSFeatureInfoURL() has been added
 to MapScript for applications that want to access featureInfo results and handle them directly<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Berger, Cora wrote:<br>
<br>
<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-family:"Arial","sans-serif";color:#1F497D">Dear Steve,</span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-family:"Arial","sans-serif";color:#1F497D">yes, I have read this.
</span><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1F497D">My layers do cascade. The only thing that doesn’t work is the GetFeatureInfo Request.
</span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1F497D">The original WMS supports GetFeatureInfo. But if I connect to this WMS and use it as a layer for my new WMS GetFeatureInfo stops working.
</span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1F497D">Cora</span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1F497D"> </span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1F497D"> </span><span lang="DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="DE"><o:p></o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a> [<a href="mailto:Steve.Toutant@inspq.qc.ca">mailto:Steve.Toutant@inspq.qc.ca</a>]
<br>
<b>Gesendet:</b> Mittwoch, 28. Oktober 201</span><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">5 13:25<br>
<b>An:</b> Berger, Cora<br>
<b>Cc:</b> 'mapserver-users@lists.osgeo.org'; mapserver-users<br>
<b>Betreff:</b> RE [mapserver-users] Cascaded WMS GetFeatureInfo</span><span lang="DE"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="DE"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Cora have you read this?</span><span lang="DE">
<br>
<a href="http://mapserver.org/ogc/wms_server.html#cascading-wms-request"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">http://mapserver.org/ogc/wms_server.html#cascading-wms-request</span></a>
<br>
</span><span lang="DE" style="font-size:10.0pt;font-family:"Arial","sans-serif"">It might help to know why a layer is not cascaded</span><span lang="DE">
<br>
<br>
</span><span lang="DE" style="font-size:10.0pt;font-family:"Arial","sans-serif"">What happen if you don't modify the style?</span><span lang="DE">
<br>
</span><span lang="DE" style="font-size:10.0pt;font-family:"Arial","sans-serif"">steve</span><span lang="DE">
<br>
</span><span lang="DE" style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><span lang="DE">
<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt"><span lang="DE"><br>
<br>
<br>
<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border-collapse:collapse">
<tbody>
<tr style="height:6.0pt">
<td width="40%" valign="top" style="width:40.0%;padding:0cm 0cm 0cm 0cm;height:6.0pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Berger, Cora" <<a href="mailto:cora.berger@bezreg-koeln.nrw.de">cora.berger@bezreg-koeln.nrw.de</a>>@lists.osgeo.org</span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">
</span><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Envoyé par : "mapserver-users" <<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>></span>
<o:p></o:p></p>
<p style="mso-line-height-alt:6.0pt"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">2015-10-27 04:01</span>
<o:p></o:p></p>
</td>
<td width="59%" valign="top" style="width:59.0%;padding:0cm 0cm 0cm 0cm;height:6.0pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border-collapse:collapse">
<tbody>
<tr style="height:15.75pt">
<td width="57" valign="top" style="width:42.75pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">A</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"'mapserver-users@lists.osgeo.org'" <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>></span>
<o:p></o:p></p>
</td>
</tr>
<tr style="height:15.75pt">
<td width="57" valign="top" style="width:42.75pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">cc</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm;height:15.75pt"></td>
</tr>
<tr style="height:15.75pt">
<td width="57" valign="top" style="width:42.75pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Objet</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">[mapserver-users] Cascaded WMS GetFeatureInfo</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> <o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="393" style="width:294.75pt;border-collapse:collapse">
<tbody>
<tr style="height:6.0pt">
<td width="57" valign="top" style="width:42.75pt;padding:0cm 0cm 0cm 0cm;height:6.0pt">
</td>
<td width="336" valign="top" style="width:252.0pt;padding:0cm 0cm 0cm 0cm;height:6.0pt">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom:12.0pt"><span lang="DE"><br>
<br>
<br>
<br>
<br>
</span><tt><span lang="DE" style="font-size:10.0pt">Hello everybody,</span></tt><span lang="DE" style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>I am building a cascaded WMS. My layers all have connectiontype WMS and all of them use one layer of the same WMS as source. The only thing I change is the style of the original WMS.
</tt><br>
<tt>My problem is that the GetFeatureInfo does not cascade. I am using Mapserver 7.0. I read that the GetFeatureInfo request supports cascading. All requests are enabled in the metadata. Do I have to add a special tag in the metatada or layer section to "pass
 through" the GetFeatureInfo from the original WMS?</tt><br>
<br>
<tt>Thanks for your help.</tt><br>
<br>
</span><tt><span lang="EN-US" style="font-size:10.0pt">Best regards</span></tt><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>                </tt><br>
<tt>Cora Berger</tt><br>
<tt>                           </tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>mapserver-users mailing list</tt><br>
</span><tt><span lang="DE" style="font-size:10.0pt"><a href="mailto:mapserver-users@lists.osgeo.org"><span lang="EN-US">mapserver-users@lists.osgeo.org</span></a></span></tt><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span lang="DE"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><tt><span lang="EN-US" style="font-size:10.0pt">http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></tt></a></span><span lang="EN-US">
<br>
<br>
<br>
</span><span lang="DE"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>