Ticket #3790 (closed defect: fixed)
BSB file cannot be color-expanded into RGB: "No entry 14"
| Reported by: | vadp | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | 1.7.2 |
| Severity: | normal | Keywords: | bsb vrt rgb |
| Cc: |
Description
It looks similar to http://trac.osgeo.org/gdal/ticket/3777, but appears to be different as a workaround explained there doesn't work in this case.
Here is how to reproduce this:
$ gdal_translate -of vrt G1084_16.KAP G1084_16.KAP.vrt $ gdalwarp -of gtiff G1084_16.KAP.vrt G1084_16.vrt.tif
The result is fine.
Then:
$ gdal_translate -of vrt -expand rgb G1084_16.KAP G1084_16.vrt -srcwin 1 1 1799 1799 $ gdalwarp -of gtiff G1084_16.vrt G1084_16.rgb.tif Creating output file that is 1810P x 1795L. Processing input file G1084_16.vrt. ERROR 1: No entry 14.
The result is a fully transparent raster.
The link to the KAP file: http://depositfiles.com/files/jj77xkb86
Change History
Note: See
TracTickets for help on using
tickets.
