[Tilecache] can't find resolution index

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Thu Jan 17 03:54:47 EST 2008


I´ll maybe define my problem in an other way now:

I´ve an working OL application with maxResolution='auto' and 6 predefined
zoom levels.

how can I tell tilecache to use the same resolution and the same 6 zoom
levels?

(tried for one level by telling tilecache.cfg the BBOX and the correlated
maxresolution but I need this for all Zoom levels...)





R. Ortner wrote:
> 
> Hi,
> 
> tryin to modify an working openlayers application for tilecache.
> 
> I´ve set a new layer in the tilecache.cft:
>    [PolitischeGemeinden]
>    type=WMSLayer
>    layers=PolitischeGemeinden
>    url=http://gis.ktn.gv.at/wmsconnector/com.esri.wms.Esrimap/geoland2?
>    extension=png
>    debug=off
>    srs=EPSG:31258
>    extent_type=loose
> 
> and thats my wms request:
> http://172.21.18.45/tilecache/tilecache.cgi?LAYERS=PolitischeGemeinden&TRANSPARENT=true&FORMAT=png&BUFFER=4&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A31258&BBOX=321559.67577340844,60014.06429371526,663930.3242265915,298138.9357062847&WIDTH=970&HEIGHT=675
> 
> The result is:
> 
> An error occurred: can't find resolution index for 1337.385346. Available
> resolutions are: 
> [0.703125, 0.3515625, 0.17578125, 0.087890625, 0.0439453125,
> 0.02197265625, 0.010986328125, 0.0054931640625, 0.00274658203125,
> 0.001373291015625, 0.0006866455078125, 0.00034332275390625,
> 0.000171661376953125, 8.58306884765625e-05, 4.291534423828125e-05,
> 2.1457672119140625e-05, 1.0728836059570312e-05, 5.3644180297851562e-06,
> 2.6822090148925781e-06, 1.3411045074462891e-06]
> 
> 
> 
> 
>> without the extent_type=loose i get this error:
>> 
>> An error occurred: Lower left corner (321559.675773, 60014.064294) is
>> outside layer bounds (-180, -90, 180, 90). 
>> To remove this condition, set extent_type=loose in your configuration.
>> 
> 
> 
> anybody aware of this errors? or maybe someone can point me to my mistake
> in the cfg file layer configuration?
> 

-- 
View this message in context: http://www.nabble.com/can%27t-find-resolution-index-tp14914331p14914638.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list