AGG output and WMS inimage error message bug?
Daniel Morissette
dmorissette at MAPGEARS.COM
Fri Dec 14 10:35:20 PST 2007
Sounds like a real bug that needs fixing. Could one of you please file a
ticket in Trac about it?
Daniel
Shawn Gervais wrote:
>> 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
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list