AGG output and WMS inimage error message bug?

Shawn Gervais project10 at PROJECT10.NET
Fri Dec 14 10:52:30 EST 2007


> When using AGG renderer in output format and inimage as WMS error message
> type, mapserver does not return any error message when an error occurs, only
> the requested URL. And even more severe is that the returned information is
> a text string, and not an image.
> 
> If I switch to GD output in the exact same service and the exact same
> mapfile, mapservere behaves correctly.
> 
> Can anyone confirm this behavior/bug, or tell me if there is some parameters
> or keywords that needs to be set to correct the problem?

Hi Pål,

I had the same issue - the way that I fixed it was by ensuring that the 
OUTPUTFORMAT blocks for gd/png and gd/gif were defined in my mapfile. I 
believe that mapserver uses GD to do the error-in-image stuff, even if 
you normally use AGG to render your maps.

By the way, the behavior you describe where mapserver returns the 
requested URL instead of an image is actually a byproduct of how Firefox 
handles broken images. MapServer does indeed return an image (or part of 
one), but it's broken.

-Shawn



More information about the mapserver-users mailing list