> I have tried to set error message with CPLError and return CE_Failure, > but the error message set here is lost and mapserver gets something > like "error reading block 0 0 ..".
Yes, the generic raster layer will also reports an error as soon CE_Failure is returned, so mapserver will just get the last one that has been emitted, unless stderr is logged and you watch the logs. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
