[OpenLayers-Users] tilecache config problem

Andrea Borruso aborruso at tin.it
Fri Jan 5 06:40:55 EST 2007


Dear all,
I'm testing TileCache and it's really a good tool. I'm very impressed.
I have made my first test with the original example file and now I want 
to make some test with my map sources.
I'm not able to use as source a wms server of mine. TileCache does not 
create the image tiles in the cache directory, and I have an empty map 
in my openlayer interface.
This wms server works properly as you can see using this url:
http://esempi.mapserver.it/cgi-bin/mapserv.exe?map=/Siti/mapserver/esempi/map109/config/progetto_109_wms.map&layers=gra_isud&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/png&SRS=EPSG:32633&BBOX=201153,3929400,849098,4626420&WIDTH=256&HEIGHT=256

I have inserted these lines in tilecache.cfg:
[acido]
type=WMSLayer
url=http://esempi.mapserver.it/cgi-bin/mapserv.exe?map=/Siti/mapserver/esempi/map109/config/progetto_109_wms.map&
extension=png
layers=gra_isud
bbox=201153, 3929400, 849098, 4626420
srs=EPSG:32633

I have these lines in apache error log:
[Fri Jan 05 11:47:43 2007] [error] [client 127.0.0.1] 
W:\cgi-bin\TileCache\Layer.py:105: UserWarning: can't find resolution 
index for 911.137255
[Fri Jan 05 11:47:43 2007] [error] [client 127.0.0.1]   warn("can't find 
resolution index for %f" % res)
[Fri Jan 05 11:47:48 2007] [error] [client 127.0.0.1] 
W:\cgi-bin\TileCache\Layer.py:105: UserWarning: can't find resolution 
index for 911.137255
[Fri Jan 05 11:47:49 2007] [error] [client 127.0.0.1]   warn("can't find 
resolution index for %f" % res)

What's wrong in my settings?

Thank you,

a




More information about the Users mailing list