[Tilecache] Non Lat Long Projection
Stuart Eve
stuarteve at gmail.com
Sun Jul 29 05:42:18 EDT 2007
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070729/a2d7daca/attachment.html
More information about the Tilecache
mailing list