[Tilecache] Non Lat Long Projection

Stuart Eve stuarteve at gmail.com
Sun Jul 29 09:15:15 EDT 2007


Thanks for the reply Chris, let me know if you need anymore info about my
platform, etc.

Stuart

On 7/29/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>
> On Sun, Jul 29, 2007 at 10:42:18AM +0100, Stuart Eve wrote:
> > Dear all
> >
> > I have been trying to get my tilecache working with an epsg:3034 WMS
> source.
> > I have been having problems getting my openlayers to show any tiles (and
> was
> > getting the 'can't get tile index' problem even though my maxResolution
> and
> > bounding boxes were the same). I have recently upgraded to the beta
> version
> > to see if any bug fixes might have helped.
> >
> > However, I am now getting a different message:
> >
> > Mod_python error: "PythonHandler TileCache.Service"
> >
> > Traceback (most recent call last):
> >
> >   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
> > 299, in HandlerDispatch
> >     result = object(req)
> >
> >   File
> "/srv/www/htdocs/fasti/v2/mapserver/tilecache/TileCache/Service.py",
> > line 522, in handler
> >     return modPythonHandler(apacheReq, theService)
> >
> >   File
> "/srv/www/htdocs/fasti/v2/mapserver/tilecache/TileCache/Service.py",
> > line 432, in modPythonHandler
> >     except Layer.TileCacheException, E:
> >
> > AttributeError: 'module' object has no attribute 'TileCacheException'
> >
> >
> > I am using Tilecache 1.9-rc3 on Unix with Openlayers 2.4 under
> mod_python.
>
> Strange. Looks like something I broke in the mod_python setup, though
> I've tested it on mod_python myself with no problems.
>
> I'll get it fixed in an rc4 -- I'd offer you a fix, but I'm not sure
> what it is off the top of my head.
>
> -- Chris
>
> > Can anyone point me in the right direction?
> >
> > Thanks
> >
> > Stuart
> >
> > My openlayers definition is:
> >
> >  var wms_cache_layer = new OpenLayers.Layer.WMS( "Fasti Global
> Mosaic",  "
> > http://www.fastionline.org/v2/mapserver/tilecache/tilecache.py?",
> {layers:
> > 'fasti', format: 'image/png; mode=24bit', maxResolution:'
> > 27086.765625',maxExtent:
> > new OpenLayers.Bounds (256000,-1385000,733013,5549212) } );
> >
> > Tilecache.cfg is:
> >
> > [fasti]
> > type=WMSLayer
> > url=http://map1.fastionline.org/v2/fasti_wms.php ?
> > srs=EPSG:3034
> > extension='png'
> > bbox=256000,-1385000,733013,5549212
> > maxResolution=27086.765625
> > levels=14
> > layers=dem_base_west,dem_base_east
>
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at openlayers.org
> > http://openlayers.org/mailman/listinfo/tilecache
>
>
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070729/d572f4af/attachment.html


More information about the Tilecache mailing list