[Mapserver-users] Image handling error (was MAX image size)

Tyler Mitchell TMitchell at lignum.com
Wed Sep 24 11:06:02 EDT 2003




Thanks for the discussion on image size settings.  I learned a thing or
two, mainly that my current Mapserver installation should have worked for
me.  That is, I was not asking for an image size larger than the hard coded
max.

However,  I am finding that when I change my image size (in the map file)
from 1024 768 to 2048 1024, I get the following error:

msDrawMap(): Image handling error. Failed to draw layer named 'trimphoto'.
msDrawRaster(): Image handling error. Unrecognized or unsupported image
format
drawEPP(): Image handling error.
/srv/www/htdocs/tmp/1064270822119110.img.tmp is not an EPPL file.

"trimphoto" is a WMS layer.

Judging by the mailing list, I'm hitting the same problem Aaron did in his
note:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0307/msg00428.html

I've been thinking it is an image size issue when, according to Ed (
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0307/msg00430.html)
 it appears to be a resolution/pixel size request problem from the wms
server.

So, does this mean that any time you request a higher resolution image from
WMS than it normally serves up, we'll get this error?  In my opinion,
that's goofy.  Especially considering that minimum scale settings are not
exposed through the wms capabilities document!  I realize it is an external
server issue and not my mapserver's problem, but there has to be a better
way to handle this, any ideas?  I'm thinking that if an exception is coming
back from the WMS server, then MapServer could at least give me a blank
image instead.  Preferably, I'd get the minimum resolution image resized to
my request, but I know that's not as easy as it sounds.

Any thoughts?

Tyler




More information about the mapserver-users mailing list