Opened 6 years ago

Closed 6 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:
Cc:

Description

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)

test.zip (30.0 KB) - added by lpinner 6 years ago.
Test files

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by lpinner

Attachment: test.zip added

Test files

comment:1 Changed 6 years ago by Even Rouault

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.