[Tilecache] Tilecache & Mapserver
James McManus
jmpmcmanus at yahoo.com
Wed Jan 23 19:14:54 EST 2008
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.
Jim
Josh Livni <josh at umbrellaconsulting.com> wrote: then be sure to restart you apache instance after each/every change ...
-josh
James McManus wrote:
> Yes, I have it set in /etc/httpd/conf.d/python.conf as follows:
>
>
> AddHandler python-program .py
> PythonHandler TileCache.Service
> PythonOption TileCacheConfig /var/www/cgi-bin/tilecache/tilecache.cfg
>
>
>
>
> */Josh Livni /* wrote:
>
> Are you by chance running mod_python?
>
> In any case, 80% of requests to that server I notice that error. The
> other 20% it seems to work fine. By continually hitting refresh on
> the
> following url, I eventually got an image:
> http://www.piedmontgeographic.com/cgi-bin/tilecache/tilecache.py/1.0.0/roads/0/0/0.png
>
>
>
> That said you may want to also get rid of spaces in your bbox
> argument -
> not that it's related to this issue.
>
> -Josh
>
>
> James McManus wrote:
> > 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 /* 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
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at openlayers.org
> > http://openlayers.org/mailman/listinfo/tilecache
> >
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080123/5b208fe2/attachment.html
More information about the Tilecache
mailing list