<html>
<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:Consolas;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.html-tag
        {mso-style-name:html-tag;}
span.text
        {mso-style-name:text;}
span.html-attribute
        {mso-style-name:html-attribute;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.html-attribute-name
        {mso-style-name:html-attribute-name;}
span.html-attribute-value
        {mso-style-name:html-attribute-value;}
span.E-MailFormatvorlage24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-MailFormatvorlage25
        {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:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:663581969;
        mso-list-type:hybrid;
        mso-list-template-ids:-526079374 -1554370694 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:22.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:58.5pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:94.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:130.5pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:166.5pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:202.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:238.5pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:274.5pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:310.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hey,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">in addition to Jukka.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">You have to delete all whitespaces between the different supported outputformats in ‘wms_getmap_formatlist’,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">e.g. "wms_getmap_formatlist"    "image/png,image/jpeg,image/gif,image/tiff"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><br>
Sören Horn<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE"> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>Im Auftrag von </b>Rahkonen Jukka (MML)<br>
<b>Gesendet:</b> Dienstag, 7. Juni 2016 11:04<br>
<b>An:</b> Wright, Simon M.; mapserver-users@lists.osgeo.org<br>
<b>Betreff:</b> Re: [mapserver-users] MapServer 7.0.1 WMS Server wms_getmap_formatlist not working as expected<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FI" style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FI" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I see that you include image/bmp which is not supported outputformat at all. What happens if you leave it out from the formatlist?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FI" style="color:#1F497D">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FI" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FI" style="color:#1F497D"><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" style="margin-bottom:12.0pt"><span lang="EN-US" style="mso-fareast-language:FI">Wright, Simon M. wrote:<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="EN-GB" style="font-size:10.0pt;font-family:Consolas">Dear All<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">Has anyone been able to get the wms_getmap_formatlist parameter to work when configuring a map file to define a WMS?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">I’m using MapServer 7.0.1 and when I don’t include the wms_getmap_formatlist parameter in my .map file the WMS GetCapabilities document reports the following GetMap image
 formats:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><GetMap><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>image/png</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>image/jpeg</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>image/png; mode=8bit</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>application/x-pdf</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>image/svg+xml</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>image/tiff</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>application/vnd.google-earth.kml+xml</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Format>application/vnd.google-earth.kmz</Format><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><DCPType><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><HTTP><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Get><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><OnlineResource xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" xlink:href="http:/localhost:8080/cgi-bin/mapserv?map=/vagrant/maps/test-01.map&language=eng&"/><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></Get><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Post><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><OnlineResource xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" xlink:href="http:/localhost:8080/cgi-bin/mapserv?map=/vagrant/maps/test-01.map&language=eng&"/><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></Post><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></HTTP><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></DCPType><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></GetMap><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">But when I include the wms_getmap_formatlist parameter in my .map file as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">"wms_getmap_formatlist"    "image/bmp, image/png"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">no image formats are reported in the WMS GetCapabilities document:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><GetMap><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><DCPType><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><HTTP><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Get><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><OnlineResource xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" xlink:href="http:/localhost:8080/cgi-bin/mapserv?map=/vagrant/maps/test-01.map&language=eng&"/><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></Get><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><Post><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"><OnlineResource xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" xlink:href="http:/localhost:8080/cgi-bin/mapserv?map=/vagrant/maps/test-01.map&language=eng&"/><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></Post><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></HTTP><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></DCPType><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB"></GetMap><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">I’m seeing the same behaviour when I request both version 1.1.1 and 1.3.0 WMSs.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">Many thanks in advance of any help that people can provide.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas">Best wishes, Simon.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FI">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FI">This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents
 of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FI">.
<o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FI">
<hr size="2" width="100%" align="center">
</span></div>
</div>
</body>
</html>