[OpenLayers-Users] Using Gutter property with Tilecache...
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Thu Jun 10 16:04:15 EDT 2010
On Jun 10, 2010, at 3:57 PM, ext Paul james wrote:
> 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:
Because TileCache only returns tiles on the grid you configure, and you're trying to
configure overlapping tiles.
Either don't use gutter (you can use metaTile=yes, metaSize=1,1, metaBuffer=10,10 to mimic the
same behavior in TileCache) or don't use TileCache.
-- Chris
> [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
> <ATT00001..txt>
Regards,
--
Christopher Schmidt
Nokia
More information about the Users
mailing list