Re: [gdal-dev] SetNoDataValue on Memory Raster

2015-02-12 Thread Even Rouault
Brendan, > > Using the Python bindings, I am having trouble getting a memory raster to > respect SetNoDataValue. It works with a GeoTiff(if I close and then reopen > it for reading), I presume because everything gets written when the raster > is closed. My code: > > conc_band = t_ds.GetRasterBan

[gdal-dev] SetNoDataValue on Memory Raster

2015-02-12 Thread DeTracey, Brendan
Hi, Using the Python bindings, I am having trouble getting a memory raster to respect SetNoDataValue. It works with a GeoTiff(if I close and then reopen it for reading), I presume because everything gets written when the raster is closed. My code: conc_band = t_ds.GetRasterBand(1) conc_band.Se