Opened 14 years ago
Closed 13 years ago
#3527 closed defect (fixed)
documentation for wcs_formats is outdated
Reported by: | bartvde | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation - MapServer | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: |
Description
The documentation says the delimiter is a comma, however the code uses a space. This means that if you specify the formats with a comma, you'll end up with no SupportedFormat elements in your CoverageSummary in the capabilities response, and this is actually a violation of the OGC spec.
if( layer != NULL && (value = msOWSGetEncodeMetadata( &(layer->metadata),"COM","formats", "GTiff" )) != NULL ) { tokens = msStringSplit(value, ' ', &numtokens); }
e When included, this list, including all values inherited from parent coverages, shall be an exact copy of the equivalent parameters in the CoverageDescription. Each CoverageSummary shall list or inherit at least one SupportedCRS and one SupportedFormat. There may be a dependency of SupportedCRS on SupportedFormat as described in Subclause 10.3.5.
Note:
See TracTickets
for help on using tickets.
Updated the WCS Server document with:
good catch Bart!