Opened 13 years ago
Closed 13 years ago
#3919 closed defect (fixed)
WCS 1.0 does not supports bands= specification properly
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WCS Server | Version: | unspecified |
Severity: | normal | Keywords: | WCS bands |
Cc: | schpidi, sdlime |
Description
I have observed that:
produces a TIFF file with 3 bands instead of subsetting only band 1 as it ought to. Furthermore, I observe that:
fails with a service exception due to a failure to validate "1,2,3". It seems as the code exists now only a single band may be selected.
I'm not exactly sure what version demo.mapserver.org is running, but I have confirmed a similar problem with mapserver trunk.
I see there are tests in msautotest for band selection against wcs 2.0 but not for 1.0 or seemingly 1.1.
Change History (4)
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 13 years ago
I have determined that the &bands=1 option does not give the desired results because of selection of an IMAGEMODE RGB outpuformat (GEOTIFF_RGB). Selecting GEOTIFF_INT16 instead does produce the desired one band file.
I wonder if we ought to detect and produce an exception if the bands selection is incompatible with the output format declaration?
comment:3 by , 13 years ago
Status: | new → assigned |
---|
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Minimal testing added in msautotest (r11823).
I'm going to do a bit of work to try and fix this, but others are welcome to comment.