[Tilecache] tiles outside of extent
    Bart van den Eijnden (OSGIS) 
    bartvde at osgis.nl
       
    Mon Apr 23 08:11:41 EDT 2007
    
    
  
Hi list,
when requesting a tile which is outside of the maxExtent, I get the
following error:
An error occurred: couldn't calculate tile index for layer AAA216 from
([0.0, -58400.935286, 358400.93528600002, 300000.0])
  File "/var/www/cgi-bin/tilecache-1.6/TileCache/Service.py", line 401, in
modPythonHandler
    host )
  File "/var/www/cgi-bin/tilecache-1.6/TileCache/Service.py", line 380, in
dispatchRequest
    tile = WMS(self).parse(params, path_info, host)
  File "/var/www/cgi-bin/tilecache-1.6/TileCache/Service.py", line 115, in
parse
    return self.getMap(param)
  File "/var/www/cgi-bin/tilecache-1.6/TileCache/Service.py", line 122, in
getMap
    raise Exception(
which results in a red cross image in OpenLayers.
Is there a way to get around this? Maybe have blank images returned?
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
    
    
More information about the Tilecache
mailing list