<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.objectbox
        {mso-style-name:objectbox;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m using OpenLayers 2.10 for a while, but I cannot understand the following issue: when I add a WMS (projection EPSG:31370) to the map (baselayer is also EPSG:31370), the BBOX used projection of the generated URL is half right/wrong.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">WMS URL : <span class="objectbox"><a href="http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map">http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map</a><o:p></o:p></span></p>
<p class="MsoNormal"><span class="objectbox"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span class="objectbox">Generated URL : <a href="http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map&amp;LAYERS=so2&amp;EXCEPTIONS=XML&amp;FORMAT=image%2Fpng&amp;TRANSPARENT=TRUE&amp;VERSION=1.1.0&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;SRS=EPSG%3A31370&amp;BBOX=-180,-90,79820,79910&amp;WIDTH=256&amp;HEIGHT=256">
http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map&amp;LAYERS=so2&amp;EXCEPTIONS=XML&amp;FORMAT=image%2Fpng&amp;TRANSPARENT=TRUE&amp;VERSION=1.1.0&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;SRS=EPSG%3A31370&amp;BBOX=-180,-90,79820,79910&amp;WIDTH=256&amp;HEIGHT=256</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span class="objectbox"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span class="objectbox">As you see, some parameters of the BBOX are -180,-90 which are not correct and in EPSG:4326 instead of EPSG:31370.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Anybody can help ?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks very much.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Christophe NOEL.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>