[OpenLayers-Users] error in resolution index from tilecache/geoserver

Lance Dyas lancelot at inetnebr.com
Sun Nov 25 19:30:27 EST 2007


I am getting error of this sort from tilecache...
images are causing this..

An error occurred: can't find resolution index for 0.000343. Available resolutions are: 
[0.00056594531249999983, 0.00028297265624999991, 0.00014148632812499996, 7.0743164062499978e-05, 3.5371582031249989e-05, 1.7685791015624995e-05, 8.8428955078124973e-06, 4.4214477539062486e-06, 2.2107238769531243e-06, 1.1053619384765622e-06, 5.5268096923828108e-07, 2.7634048461914054e-07, 1.3817024230957027e-07, 6.9085121154785135e-08, 3.4542560577392567e-08, 1.7271280288696284e-08, 8.6356401443481419e-09, 4.3178200721740709e-09, 2.1589100360870355e-09, 1.0794550180435177e-09]

here is the cfg.

[basic]
type=WMSLayer
url=http://89:8080/geoserver/wms?
srs=EPSG:4326
bbox=15.86408,45.770569,16.153844,45.903407
extension=jpg
layers=topp:irena

and the page
http://www.dyasdesigns.com/croatia/Zagreb2.html

 <script type="text/javascript">
        <!--
    var map, layer;
        function init(){
        map = new OpenLayers.Map( $('map'), { maxExtent: new 
OpenLayers.Bounds(15.86408,45.770569,16.153844,45.903407)});
            layer = new OpenLayers.Layer.WMS( "Zagreb",
                "http://89.164.15.143/tilecache/tilecache.cgi?", 
{layers: 'basic', maxExtent: new 
OpenLayers.Bounds(15.86408,45.770569,16.153844,45.903407),  format: 
'image/jpg' } );
            map.addLayer(layer);
            map.addControl(new OpenLayers.Control.Permalink());
            if (!map.getCenter()) map.zoomToMaxExtent();
        }
        // -->
    </script>


http://www.dyasdesigns.com/croatia/zagreb2.html



More information about the Users mailing list