AGG output and WMS inimage error message bug?

Pål Kristensen pal.kristensen at STATKART.NO
Mon Dec 17 08:59:44 EST 2007


Hi!

OK, I'll do that tomorrow

Regards,
Pål Kristensen



Daniel Morissette-2 wrote:
> 
> 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/
> 
> 

-- 
View this message in context: http://www.nabble.com/AGG-output-and-WMS-inimage-error-message-bug--tp14332634p14370303.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list