Opened 14 years ago
Closed 14 years ago
#2902 closed defect (fixed)
ERS shows 8 bit signed integer datasets as unsigned integer.
Reported by: | gaopeng | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.1 |
Component: | GDAL_Raster | Version: | 1.6.0 |
Severity: | normal | Keywords: | ERS |
Cc: |
Description
Two issues:
- existing 8 bit signed integer ERS datasets show up as unsigned int.
- saving a 8 bit signed int dataset (IMG) to ERS is converted to unsigned
Change History (2)
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Keywords: | ERS added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In trunk (r16734) the default CreateCopy() implementation has been altered to try and preserve the NBITS and PIXELTYPE source image structure metadata if it seems to make sense.
In trunk (r16735) the ERS driver has been altered to support reporting PIXELTYPE=SIGNEDBYTE and to honour the PIXELTYPE=SIGNEDBYTE creation option.
In trunk (r16733) a modest test of the above capability has been added to the ers.py script.
The r16735 and r16734 changes have been applied in 1.6 branch (r16736).
Note:
See TracTickets
for help on using tickets.
(I've corrected Frank Warmerdam's osgeo id)