Ticket #1748 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Changed 6 years ago by warmerdam

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

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.