[Tilecache] Using OpenLayer Gutter property with Tilecache error...
Paul james
pauljame at gmail.com
Thu Jun 10 15:58:41 EDT 2010
Hello guys...
I have a Openlayers WMS layer with :
gutter: 10
Everything works fine without Tilecache...
Using Tilecache I got that error:
*An error occurred: can't find resolution index for 0.076671.
Available resolutions are:
[0.095243450641262731, 0.073019978824968093, 0.047621725320631365,
0.031747816880420915, 0.015873908440210457, 0.009524345064126272,
0.0031747816880420914, 0.0015873908440210457, 0.00079369542201052285,
0.00031747816880420905]
*
Without gutter property it works fine as well(with Tilecache)...
Map configuration:
map = new OpenLayers.Map('SAFF', {
resolutions :
[0.09524345064126273,0.0730199788249681,0.047621725320631365,0.031747816880420915,0.015873908440210457,0.009524345064126272,0.0031747816880420914,0.0015873908440210457,0.0007936954220105228,0.00031747816880420905],
projection: "EPSG:4326",
tileSize: new OpenLayers.Size(400, 400),
maxExtent: new OpenLayers.Bounds(-102.2607421875, -46.142578125,
4.7021484375, 13.623046875)
});
Tilecache layer configuration
[LayerTest]
type=WMS
url=url
extension=png
extent_type=loose
bbox = -102.2607421875,-46.142578125,4.7021484375,13.623046875
resolutions=0.09524345064126273,0.0730199788249681,0.047621725320631365,0.031747816880420915,0.015873908440210457,0.009524345064126272,0.0031747816880420914,0.0015873908440210457,0.0007936954220105228,0.00031747816880420905
size=400,400
Any help?
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100610/7875af3c/attachment.html
More information about the Tilecache
mailing list