[Tilecache] TileCache and maxExtent

Luca Casagrande thedoktor78 at gmail.com
Wed Feb 4 06:03:45 EST 2009


Hello everybody!
I have got a problem with TileCache and a layer with the maxExtent
properties..this is the situation:

OL layer definition:

nasa = new OpenLayers.Layer.WMS(
                                                        "NASA WMS",
                                                        urlArray,
                                                       
{'layers':'nasa','format':'image/jpeg'},
                                                       
{'isBaseLayer':false,'visibility':true,'maxExtent': new
OpenLayers.Bounds(-2161409.5,3528557,2760075.5,5900357),'minResolution':248,}
                                );

TC configuration:

[nasa]
type=WMS
url=http://localhost/cgi-bin/olwms
extension=jpeg
size=512,512
srs=EPSG:23033
bbox=-2161409.5,3528557,2760075.5,5900357
resolutions=3953.0,1976.5,988.25,494.125,247.0625, 123.53125, 61.765625,
30.8828125, 15.44140625
extent_type=loose

The maxExtent of map object is: 138667,4612862,452902,4856062

TileCache report that:
An error occurred: Current x value 2162603.000000 is too far from tile
corner x 1886462.500000
Using the same request with the wms server, show the tile.

All others layer ( with no maxExtent properties ) works fine with TC.
Any idea?

Thank you

Luca 
-- 
View this message in context: http://n2.nabble.com/TileCache-and-maxExtent-tp2268163p2268163.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list