Ticket #1748 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

WCS supportedFormats - need to split <formats> tag

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

08/17/07 14:18:54 changed 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".