[Tilecache] An error occurred: couldn't calculate tile index for layer

Brian Pitts bpitts at emory.edu
Wed Mar 7 16:30:06 EST 2007


> Sorry: I forgot that the TileCache maxResolution changes based on 
> your maxExtent.
>
> Two options:
>
> var mapOptions = {maxExtent: new  
> OpenLayers.Bounds(-124.7,24.9,-66.9,49.3),                   
> maxResolution:.703125};
>
> [US_States]
> type=WMSLayer
> url=http://wilson.library.emory.edu/~bpitts/cgi-bin/south
> extension=png
> bbox=-124.7,24.9,-66.9,49.3
> maxResolution=1.40625

Thanks for the advice, but neither one changed the behavior of the 
US_States layer. I left the second option live at the link I mentioned 
previously. What's the formula for calculating maxResolution from 
maxExtent?

-Brian




More information about the Tilecache mailing list