[Tilecache] Configuration error??
Erick Gordon B.
erickgb_pma at yahoo.com
Tue Jul 24 13:04:08 EDT 2007
Hi Christopher
I have installed tilecache version: 1.8.1 on windows XP with phyton 2.5 and IIS 5.1, but I have an error:
"An error occurred: 'tilecache.py'
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 479, in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method, host )
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 399, in dispatchRequest
tile = TMS(self).parse(params, path_info, host)
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 248, in parse
layer = self.service.layers[parts[1]]
"
cfg:
[base]
type=WMSLayer
url=http://localhost/mapserver/cgi-bin/mapserv.exe?map=/ms4w/apps/metro/map/metro.map&
layers=limiteurbano,isla,red250k,red100k,corregimiento250k
extension=png
size=256,256
bbox=-79.64,8.89,-79.29,9.17
srs=EPSG:4326
levels=20
resolutions=1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101
metatile=false
metaSize=5,5
metaBuffer=10
I change cfg to:
[base]
type=WMSLayer
url=http://localhost/mapserver/cgi-bin/mapserv.exe?map=/ms4w/apps/metro/map/metro.map&
layers=limiteurbano,isla,red250k,red100k,corregimiento250k
size=256,256
bbox=-79.64 8.89 -79.29 9.17
srs=EPSG:4326
levels=20
resolutions=1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101
metasize=5,5
metabuffer=10
extension=png
then the error is:
"Traceback (most recent call last):
File "c:\inetpub\wwwroot\tilecache\tilecache.py", line 6, in
svc = Service.load(*cfgfiles)
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 352, in _load
config, section, Layer, cache = cache)
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 332, in _loadFromSection
return objclass(section, **objargs)
File "c:\inetpub\wwwroot\tilecache\TileCache\Layer.py", line 288, in __init__
MetaLayer.__init__(self, name, **kwargs)
File
"c:\inetpub\wwwroot\tilecache\TileCache\Layer.py", line 188, in __init__
Layer.__init__(self, name, **kwargs)
File "c:\inetpub\wwwroot\tilecache\TileCache\Layer.py", line 67, in __init__
if isinstance(bbox, str): bbox = map(float,bbox.split(","))
ValueError: invalid"
any idea that's wrong??
Thanks!
Ing. Erick Gordon B.
Developers Team Leader
LogicStudio, Pmá.
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070724/98145598/attachment.html
More information about the Tilecache
mailing list