Ticket #2438 (closed defect: fixed)

Opened 9 months ago

Last modified 2 months ago

Unable to use vnd.ogc.se_inimage with AGG

Reported by: project10 Assigned to: 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

test.map (378 bytes) - added by project10 on 12/14/07 16:58:08.

Change History

12/14/07 16:58:08 changed by project10

  • attachment test.map added.

01/04/08 12:10:35 changed by dmorissette

  • cc set to tbonfort.
  • milestone changed from 5.0.1 release to 5.0.2 release.

06/03/08 10:34:39 changed by dmorissette

  • milestone changed from 5.0.3 release to 5.2 release.

07/07/08 15:56:52 changed by dmorissette

  • status changed from new to closed.
  • resolution set to fixed.

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