[mapserver-users] MS RFC 47 and WMS client connections

Martin Kofahl M.Kofahl at gmx.net
Thu Feb 19 23:04:29 PST 2009


Hi,
I faced a problem when drawing layers from remote WMS. Some services not working properly sometimes return an 0-byte HTTP 200, content-type image/png response. msDrawRasterLayerLow() will fail to draw the temporarily saved file with any driver. drawEPP() will finally fail with 'Unrecognized or unsupported image format'.

Can we treat corrupt files as missing data (see rfc 47) and fail|log|ignore? For comparison, when getting a http timeout, mapserv works similar to MS_MISSING_DATA_LOG (msDebug and msSetError).

Martin



More information about the MapServer-users mailing list