<br><font size=3><tt>Hi,<br>
I'm trying to get TileCache to work with my wms service.</tt></font>
<br><font size=3><tt>When I run this url: http://localhost:8080/TileCache/cgi-bin/tilecache.cgi?LAYERS=Antarctic_Coast_30_Million&SERVICE=WMS&REQUEST=GetMap&BBOX=-2959579,-69397,52147.5,2495552&WIDTH=256&HEIGHT=256</tt></font>
<br><font size=3><tt>I get </tt></font>
<br><font size=3><tt>An error occurred: couldn't calculate tile index for
layer Antarctic_Coast_30_Million from ([-2959579.0, -69397.0, 52147.5,
2495552.0])<br>
File "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py",
line 459, in cgiHandler<br>
format, image = service.dispatchRequest( params, path_info,
host )<br>
File "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py",
line 380, in dispatchRequest<br>
tile = WMS(self).parse(params, path_info, host)<br>
File "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py",
line 115, in parse<br>
return self.getMap(param)<br>
File "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py",
line 124, in getMap<br>
% (layer.name, bbox))</tt></font>
<br><font size=3><tt><br>
<br>
My tilecache.cfg is looks like this:</tt></font>
<br><font size=2 face="Courier New">[cache]</font>
<br><font size=2 face="Courier New">type=DiskCache</font>
<br><font size=2 face="Courier New">base=E:\tilecache</font>
<br>
<br><font size=2 face="Courier New">[Antarctic_Coast_30_Million]</font>
<br><font size=2 face="Courier New">type=WMSLayer</font>
<br><font size=2 face="Courier New">url=http://imsdemo.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Antarctic_Data</font>
<br><font size=2 face="Courier New">extension=jpeg</font>
<br><font size=2 face="Courier New">srs=EPSG:3031</font>
<br><font size=2 face="Courier New">layers=Antarctic_Coast_30_Million</font>
<br><font size=2 face="Courier New">bbox=-2959579,-2634346,3063874,2495552</font>
<br>
<br><font size=3><tt>My service is in </tt></font><font size=2>Polar Stereographic</font><font size=3>
</font><font size=3><tt>projection.</tt></font>
<br>
<br><font size=3><tt>Any idea what's causing this error?</tt></font>
<br>
<br><font size=3><tt>Thank you.</tt></font>
<br><font size=2 face="sans-serif"><br>
--------------------------------------------------------------------------<br>
Todd<br>
---------------------------------------------------------------------------</font>