[OpenLayers-Dev] How to display images that span the 180th meridian?

pdecker paulad at rmi.net
Fri Nov 30 15:51:25 EST 2007


Hello,

I want OpenLayers to provide tiles for a bounding box which spans the 180th
meridian, for examle:  upper left latitude=1.0,  upper left longitude=170.0, 
lower right latitude=-1.0, lower right longitude=-170.0.

Given this bbox, OpenLayers will then request the following tiles:
minLon=0.0 maxLon=180.0 minLat= -90.0 maxLat=90.0
minLon=-180.0 maxLon=0.0 minLat= -90.0 maxLat=90.0
minLon=-180.0 maxLon=180.0 minLat= -90.0 maxLat=270.0
minLon=-180.0 maxLon=332.0 minLat= -90.0 maxLat=422.0

The maxLat=270, maxLon=332, maxLat=422 are out of range for valid
latitude/longitude values.

Is there a way to read images with bounding boxes that span the 180th
meridian?

Thanks in advance.

PDecker



    		

-- 
View this message in context: http://www.nabble.com/How-to-display-images-that-span-the-180th-meridian--tf4911686.html#a14061840
Sent from the OpenLayers Dev mailing list archive at Nabble.com.




More information about the Dev mailing list