[Tilecache] An error occurred: couldn't calculate tile index for
	layer
    Todd Doerr 
    doerr at usgs.gov
       
    Fri Mar 16 16:47:43 EDT 2007
    
    
  
Hi,
   I'm trying to get TileCache to work with my wms service.
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
I get 
An error occurred: couldn't calculate tile index for layer 
Antarctic_Coast_30_Million from ([-2959579.0, -69397.0, 52147.5, 
2495552.0])
  File "C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py", line 459, in 
cgiHandler
    format, image = service.dispatchRequest( params, path_info, host )
  File "C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py", line 380, in 
dispatchRequest
    tile = WMS(self).parse(params, path_info, host)
  File "C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py", line 115, in 
parse
    return self.getMap(param)
  File "C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\TileCache\WEB-INF\cgi\TileCache\Service.py", line 124, in 
getMap
    % (layer.name, bbox))
My tilecache.cfg is looks like this:
[cache]
type=DiskCache
base=E:\tilecache
[Antarctic_Coast_30_Million]
type=WMSLayer
url=http://imsdemo.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Antarctic_Data
extension=jpeg
srs=EPSG:3031
layers=Antarctic_Coast_30_Million
bbox=-2959579,-2634346,3063874,2495552
My service is in Polar Stereographic projection.
Any idea what's causing this error?
Thank you.
--------------------------------------------------------------------------
Todd
---------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070316/8d7ece65/attachment.html
    
    
More information about the Tilecache
mailing list