[Tilecache] Resolution problems for a newbie
Christopher Schmidt
crschmidt at metacarta.com
Fri Oct 19 07:24:40 EDT 2007
On Fri, Oct 19, 2007 at 11:58:11AM +0200, Yvan Calcagni wrote:
Please do not use HTML email.
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Hi everybody,<br>
> <br>
> I'm trying to make running TileCache with Mapserver. My cfg file looks
> like this :<br>
> <i><font face="Arial"><small>[CartoInond]<br>
> type=WMSLayer<br>
> url=<a class="moz-txt-link-freetext" href="http://www.pole-geomatique-auvergne.org/cgi-bin/cartoinondwms">http://www.pole-geomatique-auvergne.org/cgi-bin/cartoinondwms</a>?<br>
> layers=Communes_Auvergne<br>
> srs=EPSG:27572<br>
> extension=png<br>
> bbox=590760, 2032072, 698428, 2139740<br>
> resolutions=841.15625,420.578125,210.2890625,105.14453125</small></font></i><br>
> <br>
> I've got an error raising when I'm calling this<br>
> <i><font face="Arial"><small><a class="moz-txt-link-freetext" href="http://www.pole-geomatique-auvergne.org/cgi-bin/tilecache/tilecache.cgi">http://www.pole-geomatique-auvergne.org/cgi-bin/tilecache/tilecache.cgi</a>?<br>
> LAYERS=CartoInond&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage<br>
> &FORMAT=image%2Fjpeg&SRS=EPSG%3A27572&BBOX=590760,2032072,698428,2139740&WIDTH=256&HEIGHT=256</small></font></i><br>
> <br>
> The error is the following :<br>
> <i><font face="Arial"><br>
> </font></i>
> <pre><i><font face="Arial">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.")</font></i>
What version of TileCache are you using? I've only seen this problem
with MetaTiling in the past.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list