Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2187 closed defect (fixed)

WMS Request for DRIVER AGG/PNG claims 'invalid output format'

Reported by: crschmidt Owned by: warmerdam
Priority: normal Milestone: 5.0 release
Component: AGG Version: unspecified
Severity: normal Keywords: agg wms
Cc: sdlime, assefa


I edited a mapfile to have an outputformat like:




I then requested an image via a URL like:

Note the:


in that line.

The request returned an error message:

msWMSLoadGetMapParams(): Image handling error. Unsupported output format (agg).

FrankW pointed out that mapwms.c has a hardcoded "GD/", "GDAL/".

I added AGG/, and it started working.

Change History (3)

comment:1 by warmerdam, 16 years ago

Cc: sdlime assefa added
Owner: changed from sdlime to warmerdam

comment:2 by warmerdam, 16 years ago

Keywords: agg wms added
Milestone: 5.0 release
Resolution: fixed
Status: newclosed
Version: unspecified

Fixed (r6416) ... should appear in beta2.

      if( format == NULL || 
          (strncasecmp(format->driver, "GD/", 3) != 0 &&
           strncasecmp(format->driver, "GDAL/", 5) != 0 && 
           strncasecmp(format->driver, "AGG/", 4) != 0))

This bug resulted in AGG drivers not being selectable for WMS with FORMAT=, and was new with AGG support. The only release this bug appeared in was 5.0 beta1.

comment:3 by warmerdam, 16 years ago

Actual fix is in r6417.

Note: See TracTickets for help on using tickets.