Opened 14 years ago
Last modified 9 years ago
#3691 closed defect
GDAL doesn't create correct image from WCS indexed raster — at Version 2
Reported by: | yjacolin | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
How to see this bug:
- create a WCS service (with MapServer for instance) with an indexed raster layer. Set up an imagemode to PC256 and in METADATA object of the layer:
"wcs_bandcount" "1"
- you need an indexed raster file, you can create it with rgb2pct.py script from a RGBA raster file
- retrieve image directly with the GetCoverage request (image #1)
- retrieve image with gdal (image #2)
image #1 and #2 are different (b&w for #2, color for #1)
Here is an xml code to put in a file to use with gdal and a GetCoverage url to see both image.
<WCS_GDAL> <ServiceURL>http://ifremer-maintenancesextant-demo.dmz.lsn.camptocamp.com/cgi-bin/bug?</ServiceURL> <CoverageName>test</CoverageName> </WCS_GDAL>
server could be closed one day, even if I try to keep it on, so don't hesitate to contact me if this occurs and you need it to work on this ticket.
Thanks.
Y. PS : edit to change url to the public url
Note:
See TracTickets
for help on using tickets.
Hello,
Sorry this server is not public yet. We are working on it and let you know the correct url.
Thanks,
Y.