[Tilecache] metaTile doesn't work with tiles of 512 pixels

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 18 18:22:51 EDT 2007


On Thu, Apr 19, 2007 at 12:57:34AM +0300, Ehud Shabtai wrote:
> Hi,
> 
> TileCache doesn't seem to work with metaTile=true when I set the tile
> size to 512,512.
> 
> Here's what I tried:
> 
> [basic]
> type=WMSLayer
> url=http://labs.metacarta.com/wms/vmap0
> extension=png
> size=512,512
> metaTile=true
> 
> 
> If I set metaTile to false, it works fine.
> metaTile works find for tiles of 256,256.
> 
> I'm using the latest OpenLayers code with the following extent and resolutions:
> 
>                         maxResolution: .010986328125,
>                         maxExtent: new
> OpenLayers.Bounds(33.75,28.125,36.5625,33.75),

512 * 5 + 10 * 2 -> 2060 

MapServer by default won't render an image bigger than 2048 x 2048.

If you bump the metaSize down to 4,4, it should work... I think :)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list