[OpenLayers-Users] what does this error mean?

Christopher Schmidt crschmidt at metacarta.com
Tue May 29 15:57:28 EDT 2007


On Tue, May 29, 2007 at 01:41:26PM -0600, Gregor Mosheh wrote:
> My map, the broken one:
> http://69.59.158.10/openlayers/
> 
> The error:
> An error occurred: couldn't calculate tile index for layer cities from 
> ([-123.803009, 40.587181999999999, -123.715118, 40.675072999999998])
> 
> My tilecache.cfg:
> 
> [cache]
> type=DiskCache
> base=/maps/cache
> 
> [schematic]
> debug=false
> extension=jpeg
> type=WMSLayer
> url=http://labs.metacarta.com/wms/vmap0
> layers=basic
> bbox=-124.15456,40.41142,-123.7844,40.61528

add here:

maxResolution=1.40625

Also, for your overlays, add a 'reproject: false' option if they're tc
overlays: 

   layer = new OpenLayers.Layer.WMS("Cities", "/cgi-bin/tilecache.cgi?",
   {layers:'cities', format:'image/gif', transparent:'true' },
   {reproject: false} );

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list