I still had MaxResolution set to auto, for my overviewmap. I replaced it with resolutions and every thing is working!!!<br><br>Thanks!!!<br>Jim<br><br><b><i>James McManus <jmpmcmanus@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> I removed URL and it appears to be working!! I think I got everything sequenced at the same time. However, I still get pink for my OverviewMap.<br><br>Jim<br><br><b><i>Josh Livni <josh@umbrellaconsulting.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> then be sure to restart you apache instance after each/every change ...<br><br> -josh<br><br>James McManus wrote:<br>> Yes, I have it set in /etc/httpd/conf.d/python.conf as follows:<br>><br>> <Directory var="" www="" cgi-bin=""><br>> AddHandler python-program .py<br>> PythonHandler
TileCache.Service<br>> PythonOption TileCacheConfig /var/www/cgi-bin/tilecache/tilecache.cfg<br>> </Directory><br>><br>><br>><br>> */Josh Livni <mailing_lists@umbrellaconsulting.com>/* wrote:<br>><br>> Are you by chance running mod_python?<br>><br>> In any case, 80% of requests to that server I notice that error. The<br>> other 20% it seems to work fine. By continually hitting refresh on<br>> the<br>> following url, I eventually got an image:<br>> http://www.piedmontgeographic.com/cgi-bin/tilecache/tilecache.py/1.0.0/roads/0/0/0.png<br>><br>><br>><br>> That said you may want to also get rid of spaces in your bbox<br>> argument -<br>> not that it's related to this issue.<br>><br>> -Josh<br>><br>><br>> James McManus wrote:<br>> > Thanks! I got things working, sort off. I added the url setting, in<br>> > tilecache.cfg, providing the
location of my mapserv binary and<br>> > mapfile. I already had the mapfile setting, but adding the url<br>> seems<br>> > to help when accessing tilecache through OpenLayers. However, I'm<br>> > getting a lot of pink tiles. Is doing this correct, or did I<br>> stumble<br>> > on a suito solution? When I run the url:<br>> ><br>> ><br>> 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,<br>><br>> > 35.50717788, -78.22326740, 36.26503708&WIDTH=256&HIGHT=256<br>> ><br>> > in my location bar I get the following error:<br>> ><br>> > An error occurred: __init__() got an unexpected keyword argument<br>> 'url'<br>> > ...<br>> > ...<br>> > ...<br>> > Jim<br>>
><br>> ><br>> > */Christopher Schmidt /* wrote:<br>> ><br>> > On Wed, Jan 23, 2008 at 12:49:56PM -0800, James McManus wrote:<br>> > > Why does the MapServer example in docs/EXAMPLE.txt not include<br>> > resolutions?<br>> ><br>> > The default maxResolution is maxExtent / 512. The mapserver layer in<br>> > question uses the default. Note that neither the WMS nor Mapnik<br>> layers<br>> > define resolutiosn either.<br>> ><br>> > So, I guess the answer to your question is sort of "no" -- there<br>> is a<br>> > efault. However, that's true for *all* layers, so the MapServer<br>> Layer<br>> > isn't special in that regard.<br>> ><br>> > Regards,<br>> > --<br>> > Christopher Schmidt<br>> > MetaCarta<br>> ><br>> ><br>> ><br>>
------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > Tilecache mailing list<br>> > Tilecache@openlayers.org<br>> > http://openlayers.org/mailman/listinfo/tilecache<br>> ><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Tilecache mailing list<br>> Tilecache@openlayers.org<br>> http://openlayers.org/mailman/listinfo/tilecache<br>> <br></mailing_lists@umbrellaconsulting.com></blockquote><br>_______________________________________________<br>Tilecache mailing list<br>Tilecache@openlayers.org<br>http://openlayers.org/mailman/listinfo/tilecache<br></blockquote><br>