<font size="2"><font size="2">
<div>Here ya go</div>
<div> </div>
<div># Configuration for MC TileCache</div>
<p># [cache] section (mandatory!)</p>
<p># type=DiskCache (works out of the box)</p>
<p># base=<full path to cache directory></p>
<p># *or*</p>
<p># type=MemoryCache (you'll need memcache.py and memcached running!)</p>
<p># servers=<a href="http://192.168.1.1:11211">192.168.1.1:11211</a></p>
<p>[cache]</p>
<p>type=DiskCache</p>
<p>base=C:\Inetpub\wwwroot\demo\tmp</p>
<p># [layername] -- all other sections are named layers</p>
<p>#</p>
<p># type={MapServerLayer,WMSLayer} </p>
<p># *** if you want to use MapServerLayer, you *must* have Python mapscript</p>
<p># installed and available ***</p>
<p># </p>
<p># mapfile=<full path to map file> *** only applies to MapServerLayer ***</p>
<p># url=<full URL of WMS> *** only applies to WMSLayer ***</p>
<p># layers=<layer>[,<layer2>,<layer3>,...] </p>
<p># *** optional iff layername if what</p>
<p># your data source calls the layer **</p>
<p># extension={png,jpeg,gif} *** defaults to "png" ***</p>
<p># size=256,256 *** defaults to 256x256 ***</p>
<p># bbox=-180.0,-90.0,180.0,90.0 *** defaults to world in lon/lat ***</p>
<p># srs=EPSG:4326 *** defaults to EPSG:4326 ***</p>
<p># levels=20 *** defaults to 20 zoom levels ***</p>
<p># resolutions=0.1,0.05,0.025,... *** defaults to global profile ***</p>
<p># metaTile=true *** metatiling off by default</p>
<p># requires python-imaging ***</p>
<p># metaSize=5,5 *** size of metatile in tiles</p>
<p># defaults to 5 x 5 ***</p>
<p># metaBuffer=10 *** size of metatile buffer in px ***</p>
<p>#[vmap0]</p>
<p>#type=MapServerLayer</p>
<p>#layers=vmap0</p>
<p>#mapfile=/var/www/vmap0.map</p>
<p>[basic]</p>
<p>type=WMSLayer</p>
<p>url=<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a></p>
<p>extension=png</p>
<p></p></font></font>Linda<br>
<div><span class="gmail_quote">On 9/8/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sat, Sep 08, 2007 at 04:01:03PM -0600, Linda Rawson wrote:<br>> I don't have firefox. My customer wants only IE but I could download it I
<br>> guess.<br><br>Yeah, Firefox would only be useful for debugging -- once you get it<br>working it won't matter at all.<br><br>> Someone else suggested that I change it to tilecache.py and then try and run<br>
> it.<br>><br>> I got a little farther.<br>><br>> Traceback (most recent call last):<br>> File "C:\Inetpub\wwwroot\demo\tilecache-1.8.1\tilecache.py", line 4, in<br>> <module><br>> svc =
Service.load("C:\Inetpub\wwwroot\demo\tilecache-<br>> 1.8.1\tilecache.cfg")<br>> File "C:\Inetpub\wwwroot\demo\tilecache-1.8.1\TileCache\Service.py", line<br>> 346, in _load<br>> cache =
cls.loadFromSection(config, "cache", Cache)<br>> File "C:\Inetpub\wwwroot\demo\tilecache-1.8.1\TileCache\Service.py", line<br>> 326, in _loadFromSection<br>> type = config.get(section, "type")
<br>> File "C:\Python25\lib\ConfigParser.py", line 511, in get<br>> raise NoSectionError(section)<br>> NoSectionError: No section: 'cache'<br>><br>> Do these errors look familiar to you? I have a 'cache' section but it
<br>> cannot find it.<br><br>Weird. Can you send a copy of your tilecache.cfg to the list? (Leaving<br>just the basic layer in is fine -- the important part is to see if it<br>somehow got mangled.) It's possible that line endings could be a factor
<br>here: I haven't ever used Python on Windows, so I'm not sure.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>