[gdal-dev] write nodata value using using creation option
even.rouault at spatialys.com
Tue Oct 31 04:10:02 PDT 2017
On mardi 31 octobre 2017 09:11:14 CET Rashad Kanavath wrote:
> Thanks Jukka and Even for you reply.
> I am using otb to write gtiff image and using ExtendedFilename option in
> otb, it allows me to pass creation options to gdal.
> So for now, I write the image in otb without any extended filename stuff
> and then add no_data by using GDALSetNoDataValue() in python.
> In my python code, I can also call gdal_translate to do this via
> but I was wondering if passing nodata value as creation option would be
Almost everything is possible in theory, but I don't feel we need that redundancy.
Why couldn't otb extendedFilename mechanisme be extended to support setting nodata through GDALSetNoDataValue(),
with a gdal:nodata=value syntax ?
You don't need to use subprocess.call() to use gdal_translate functionnality.
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev