Opened 12 years ago

Closed 12 years ago

#4207 closed defect (fixed)

NoData/NullCellValue not being written to ERS

Reported by: lpinner Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: GDAL_Raster Version: 1.8.1
Severity: normal Keywords:


NoData values don't get written to ERS header files, for example:

>gdalinfo --version
GDAL 1.8.1, released 2011/07/09
>gdal_translate -of ers -a_nodata 0 test.tif test.ers

I would expect test.ers to contain a 'NullCellValue = 0' entry, but it does not.

Test files attached.

Attachments (1) (30.0 KB ) - added by lpinner 12 years ago.
Test files

Download all attachments as: .zip

Change History (2)

by lpinner, 12 years ago

Attachment: added

Test files

comment:1 by Even Rouault, 12 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

r22997 /trunk/ (autotest/gdrivers/ gdal/frmts/ers/ersdataset.cpp): ERS: implement ERSRasterBand::SetNoDataValue() (#4207)

Note: See TracTickets for help on using tickets.