Opened 21 years ago

Closed 21 years ago

#285 closed defect (fixed)

Set default IMAGETYPE to 1st User defined OUTPUTFORMAT

Reported by: woodbri@… Owned by: warmerdam
Priority: high Milestone:
Component: MapServer C Library Version: 4.0
Severity: normal Keywords:
Cc:

Description

Set default IMAGETYPE to 1st User defined OUTPUTFORMAT. The current method of
picking a default IMAGETYPE from the predefined ones is confusing and not
intuitive if a user has specified one in their mapfile but has not specified an
IMAGETYPE. The default should be the first user specified OUTPUTFORMAT and only
fall back on the implicitly defined formats when the user has not specified any.

Change History (2)

comment:1 by fwarmerdam, 21 years ago

Owner: changed from sdlime to fwarmerdam

comment:2 by fwarmerdam, 21 years ago

Resolution: fixed
Status: newclosed
Stephen,

I have verified that the current CVS version does pick the first user defined
image type, rather than one of the auto-defined ones if IMAGETYPE is not
provided in the mapfile. 

This is verified by msautotest/gdal/rgb_overlay.map.

I think the fix for this issue was actually part of a fix I did on Jan 17
but I am not sure.  


Note: See TracTickets for help on using tickets.