[Tilecache] Tilecache & Mapserver

James McManus jmpmcmanus at yahoo.com
Wed Jan 23 18:31:11 EST 2008


Thanks! I got things working, sort off. I added the url setting, in tilecache.cfg, providing the location of my mapserv binary and mapfile. I already had the mapfile setting, but adding the url seems to help when accessing tilecache through OpenLayers. However, I'm getting a lot of pink tiles. Is doing this correct, or did I stumble on a suito solution? When I run the url:

http://www.piedmontgeographic.com/cgi-bin/tilecache/tilecache.py?LAYERS=basemap&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-79.55334892, 35.50717788, -78.22326740, 36.26503708&WIDTH=256&HIGHT=256

in my location bar I get the following error:

An error occurred: __init__() got an unexpected keyword argument 'url'
...
...
...

Jim


Christopher Schmidt <crschmidt at metacarta.com> wrote: On Wed, Jan 23, 2008 at 12:49:56PM -0800, James McManus wrote:
> Why does the MapServer example in docs/EXAMPLE.txt not include resolutions?

The default maxResolution is maxExtent / 512. The mapserver layer in
question uses the default. Note that neither the WMS nor Mapnik layers
define resolutiosn either.

So, I guess the answer to your question is sort of "no" -- there is a
efault. However, that's true for *all* layers, so the MapServer Layer
isn't special in that regard.

Regards,
-- 
Christopher Schmidt
MetaCarta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080123/e7be8ab0/attachment.html


More information about the Tilecache mailing list