Re: [gdal-dev] How to use -dstnodata in gdalwarp

2017-11-27 Thread jratike80
sunil.chaudhary wrote > I have tried using -srcnodata 0 but I got the same result. > I don't know about -wo UNIFIED_SRC_NODATA=YES, what exactly does that do? Hi, Read carefully what Even wrote and try exactly with -srcnodata "0 0 0". There is a link to warpinp options in http://www.gdal.org/gdal

Re: [gdal-dev] How to use -dstnodata in gdalwarp

2017-11-27 Thread sunil.chaudhary
I have tried using -srcnodata 0 but I got the same result. I don't know about -wo UNIFIED_SRC_NODATA=YES, what exactly does that do? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo

Re: [gdal-dev] How to use -dstnodata in gdalwarp

2017-11-27 Thread Even Rouault
On lundi 27 novembre 2017 14:38:55 CET sunil.chaudhary wrote: > I have also tried quoting the dstnodata value as "0 0 0" and I got the same > result The issue is more likely on the source side. Try adding: -srcnodata "0 0 0" Or: -wo UNIFIED_SRC_NODATA=YES Even -- Spatialys - Geospatial profess

Re: [gdal-dev] How to use -dstnodata in gdalwarp

2017-11-27 Thread sunil.chaudhary
I have also tried quoting the dstnodata value as "0 0 0" and I got the same result -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal

[gdal-dev] How to use -dstnodata in gdalwarp

2017-11-27 Thread sunil.chaudhary
Can someone give me the correct syntax on how to use -dstnodata in gdalwarp? I'm having an issue where when I'm trying to use this option I'm getting some unpredictable outputs What I am trying to do is set the output no data value as black or 0, so for my command line I put in the following: gd