[Tilecache] WMS error handling in tilecache

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu Apr 12 03:11:34 EDT 2007

Hi list,

when a WMS returns an XML error message, tilecache will save this in the
cache as a (e.g.) jpeg file.

For instance:
vi ./AAA216/10/000/000/454/000/000/334.jpeg

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
<ServiceExceptionReport version="1.1.1">
msDrawMap(): Image handling error. Failed to draw layer named
An error has occurred: Error 48 "Could not perform Read/Write o: Unable to
access file. GDALRasterIO() failed: drawGDAL()

Should it not just return the error message and *not* save it in the cache?
Now I will have to delete these files from the cache since this error was
only occurring on 1 of our 4 WMS production nodes.

Best regards,

Bart van den Eijnden
OSGIS, Open Source GIS

More information about the Tilecache mailing list