[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
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named
&#39;AAA216&#39;.
An error has occurred: Error 48 "Could not perform Read/Write o: Unable to
access file. GDALRasterIO() failed: drawGDAL()
</ServiceException>
</ServiceExceptionReport>

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

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Tilecache mailing list