Opened 16 years ago

Closed 16 years ago

#2438 closed defect (fixed)

Unable to use vnd.ogc.se_inimage with AGG

Reported by: project10 Owned by: mapserverbugs
Priority: normal Milestone: 5.2 release
Component: WMS Server Version: svn-trunk (development)
Severity: major Keywords: inimage agg
Cc: tbonfort

Description

If the AGG renderer is used, by specifying:

IMAGETYPE aggpng

in the mapfile, then WMS requests which use the application/vnd.ogc.se_inimage exceptions format cause MapServer to produce a 0-byte result. The content-type is set in these cases, but no image data is returned.

I will attach a mapfile which illustrates the problem. Using 'gdpng' instead of 'aggpng' produces the expected result. I am calling mapserver as:

http://192.168.2.10:8888/cgi-bin/mapserv.exe?map=C:\Emergeo\testcase_errorinimage\test.map&service=WMS&request=GetMap&version=1.1.1&exceptions=application/vnd.ogc.se_inimage&bbox=-180,-180,180,180

Attachments (1)

test.map (378 bytes ) - added by project10 16 years ago.

Download all attachments as: .zip

Change History (4)

by project10, 16 years ago

Attachment: test.map added

comment:1 by dmorissette, 16 years ago

Cc: tbonfort added
Milestone: 5.0.1 release5.0.2 release

comment:2 by dmorissette, 16 years ago

Milestone: 5.0.3 release5.2 release

comment:3 by dmorissette, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r7788. If the map->outputformat is not a GD format then we use GIF by default for INIMAGE exceptions.

Note: See TracTickets for help on using tickets.