Opened 17 years ago

Closed 17 years ago

#1748 closed defect (fixed)

WCS supportedFormats - need to split <formats> tag

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: wcs driver
Cc:

Description

MapServer 4.10 and earlier WCS 1.0 support returns this:

    <supportedFormats nativeFormat="ECW">
      <formats>JPEG PNG24</formats>
    </supportedFormats>

instead of one formats tag per format. There is some suggestion in http://trac.osgeo.org/mapserver/ticket/1148 that this may be an allowed by depreciated behavior so GDAL's WCS 1.0 driver should also support it.

Change History (1)

comment:1 by warmerdam, 17 years ago

Resolution: fixed
Status: newclosed

fixed in trunk and 1.4-esri branch. The test only attempts to split a <formats> field value if it is the first and only formats element, it has space(s), and has no semi-colons (to avoid splitting complex mime types like "image/tiff; bits=32".

Note: See TracTickets for help on using tickets.