[gdal-dev] Remapping nodata

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Fri Jan 8 00:11:38 PST 2016


Brad Hards <bradh <at> frogmouth.net> writes:

> 
> On Thu, 7 Jan 2016 11:09:10 AM Even Rouault wrote:
> > gdal_translate -of VRT -a_nodata will not remap values, but just change the
> > declared nodata value.
> That is in the docs, but was still a little unexpected  
> 
> I did the gdalwarp solution, but as the source data gets larger, then the 
> resource cost of duplicating all the data goes up.

Have you already tried gdal_calc http://www.gdal.org/gdal_calc.html? Option
--NoDataValue=NODATAVALUE looks promising.

-Jukka Rahkonen-



More information about the gdal-dev mailing list