[Tilecache] Resolution problems for a newbie

Yvan Calcagni calcagni at enitac.fr
Fri Oct 19 07:45:59 EDT 2007


Christopher Schmidt a écrit :
> On Fri, Oct 19, 2007 at 11:58:11AM +0200, Yvan Calcagni wrote:
>
> Please do not use HTML email.
>
>   
>> Hi everybody,
>> I'm trying to make running TileCache with Mapserver. My cfg file looks
>> like this :
>> [CartoInond]
>> type=WMSLayer
>> url=http://www.pole-geomatique-auvergne.org/cgi-bin/cartoinondwms?
>> layers=Communes_Auvergne
>> srs=EPSG:27572
>> extension=png
>> bbox=590760, 2032072, 698428, 2139740
>> resolutions=841.15625,420.578125,210.2890625,105.14453125
>>
>> I've got an error raising when I'm calling this
>> http://www.pole-geomatique-auvergne.org/cgi-bin/tilecache/tilecache.cgi
>> LAYERS=CartoInond&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage
>> &FORMAT=image%2Fjpeg&SRS=EPSG%3A27572&BBOX=590760,2032072,698428,2139740&WIDTH=256&HEIGHT=256
>>
>> The error is the following :
>>
>> 	An error occurred: Zero length data returned from layer.
>>   		File "/usr/local/apache2/cgi-bin/tilecache/TileCache/Service.py", line 479, in cgiHandler
>>     	format, image = service.dispatchRequest( params, path_info, req_method, host )
>>   		File "/usr/local/apache2/cgi-bin/tilecache/TileCache/Service.py", line 405, in dispatchRequest
>>     	return self.renderTile(tile, params.has_key('FORCE'))
>>   		File "/usr/local/apache2/cgi-bin/tilecache/TileCache/Service.py", line 369, in renderTile
>>     	else: raise Exception("Zero length data returned from layer.")
>>     
>
> What version of TileCache are you using? I've only seen this problem
> with MetaTiling in the past. 
>
> Regards,
>   
Hi Christopher,

I'm using the latest version of TileCache : 1.8.1. Do you think I should 
try an earlier version?

Regards,

Yvan.



More information about the Tilecache mailing list