Re: [gdal-dev] write nodata value using using creation option

2017-10-31 Thread Rashad Kanavath
On Tue, Oct 31, 2017 at 12:10 PM, Even Rouault wrote: > 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

Re: [gdal-dev] write nodata value using using creation option

2017-10-31 Thread Even Rouault
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 filenam

Re: [gdal-dev] write nodata value using using creation option

2017-10-31 Thread Rashad Kanavath
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. I

Re: [gdal-dev] write nodata value using using creation option

2017-10-30 Thread Even Rouault
On lundi 30 octobre 2017 16:16:12 CET Rashad Kanavath wrote: > Hello, > > Is it possible to set nodata using -co option.? > > gdal_translate input.tif output.tif -co TIFFTAG_GDAL_NODATA=-3 > Input file size is 500, 500 > Warning 6: driver GTiff does not support creation option TIFFTAG_GDAL_NO

Re: [gdal-dev] write nodata value using using creation option

2017-10-30 Thread jratike80
rashadkm wrote > Hello, > > Is it possible to set nodata using -co option.? > > gdal_translate input.tif output.tif -co TIFFTAG_GDAL_NODATA=-3 > Input file size is 500, 500 > Warning 6: driver GTiff does not support creation option > TIFFTAG_GDAL_NODATA > 0...10...20...30...40...50...60...70.

[gdal-dev] write nodata value using using creation option

2017-10-30 Thread Rashad Kanavath
Hello, Is it possible to set nodata using -co option.? gdal_translate input.tif output.tif -co TIFFTAG_GDAL_NODATA=-3 Input file size is 500, 500 Warning 6: driver GTiff does not support creation option TIFFTAG_GDAL_NODATA 0...10...20...30...40...50...60...70...80...90...100 - done. Accordin