Opened 16 years ago
Closed 16 years ago
#505 closed defect (fixed)
WMS provider doesn't support GrayIndex with Alpha band
Reported by: | christinebao | Owned by: | christinebao |
---|---|---|---|
Priority: | major | Milestone: | 3.5.0 |
Component: | WMS Provider | Version: | 3.4.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: | 1204197.01 |
Description
Steps to reproduce:
- connect to WMS server: http://wms.jpl.nasa.gov/wms.cgi?
- try to read the feature class "Digital Elecation Map of the United States,DTED dataset, 3 second resolution,grayscale"'s raster property GetNumberOfBands().
Result: Exception thrown out.
How to fix: this raster contains 2 bands: first is GrayIndex and second is Alpha. WMS can't recognize this kind of combination and caused the exception. As WMS only support 4 bands of Red, Green, Blue, Alpha, the way to fix is to expand GrayIndex to Red, Green and Blue, and then WMS provider can deal with it.
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | 1204197.01 added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix this defect at revision 4544.
Note:
See TracTickets
for help on using tickets.
Patch to fix the defect.