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 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

[gdal-dev] gdalwarp putting in incorrect values for -dstnodata

2017-11-24 Thread sunil.chaudhary
Hello I'm hoping someone can help me out here. I'm using gdal version 2.1.1. What I am trying to do is use gdalwarp to clip a raster to a shape file and then set the no data value to black or 0. the command I am using to do this is: gdalwarp -cutline HxIP_HVA_GP_z11_30cm_2014.shp -dstnodata 0 GB_