[mapserver-users] Large Gap when BBOX spans over dateline (Mercator)

kaipi mapcollect at gmx.net
Fri Apr 23 05:51:02 EDT 2010


Hi,

I am getting a large gap at the dateline when trying to retrieve a map that
spans over anti meridian:

http://domain.com/cgi-bin/mapserv?map=mymap.map&LAYERS=test&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=0,-20037508.3427892431,40007501.6855785,20037508.3427892431&WIDTH=512&HEIGHT=512

http://n2.nabble.com/forum/FileDownload.jtp?type=n&id=4949636&name=mapserv.jpeg 

I get a complete image when I fetch the same extent in geographic projection
(epsg:4326) but it is not possible when using spherical mercator
(epsg:900913).

These are my projection parameters in mapfile:


    PROJECTION
      "+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
      +units=m +no_defs"
    END

Any ideas how to fix this ?

Thanks a lot!

Kaipi



-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Large-Gap-when-BBOX-spans-over-dateline-Mercator-tp4949636p4949636.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list