[OpenLayers-Users] WMS URL - BBOX projection half-right...

Christophe Noel Christophe.Noel at spacebel.be
Mon Jun 6 11:40:32 EDT 2011


Hello all,

I'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.

WMS URL : http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map

Generated URL : http://172.17.5.4/cgi-bin/mapserv?map=/usr/lib/cgi-bin/MS/3WSA/2011-06-06_u2Mrj_mapfilesld.map&LAYERS=so2&EXCEPTIONS=XML&FORMAT=image%2Fpng&TRANSPARENT=TRUE&VERSION=1.1.0&SERVICE=WMS&REQUEST=GetMap&STYLES=&SRS=EPSG%3A31370&BBOX=-180,-90,79820,79910&WIDTH=256&HEIGHT=256

As you see, some parameters of the BBOX are -180,-90 which are not correct and in EPSG:4326 instead of EPSG:31370.

Anybody can help ?

Thanks very much.

Christophe NOEL.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110606/cbcfeacf/attachment.html


More information about the Users mailing list