Hi,
Not sure but the value of 'none' removes the nodata value while putting a number will make that value a nodata value.
-dstnodata value [value...]:
Set nodata values for output bands (different values can be supplied for each band). If more than one value is supplied all values should be quoted to keep them together as a single operating system argument. New files will be initialized to this value and if possible the nodata value will be recorded in the output file. Use a value of None to ensure that nodata is not defined (GDAL>=1.11). If this argument is not used then nodata values will be copied from the source dataset (GDAL>=1.11)
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112 Fax: 514.381.4995
www.archeotec.ca
Interesting.I am using GDAL 1.9.1 - so it didn't seem to be an option in this older ver.do you know how it is different then '-srcnodata None'?On Sunday, June 28, 2015 7:30 AM, Nicolas Cadieux <[email protected]> wrote:
-dstnodata value [value...]:http://www.gdal.org/gdalwarp.htmlNicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112 Fax: 514.381.4995
www.archeotec.caOn Jun 26, 2015 7:20 PM, Ruth Simm <[email protected]> wrote:Using this:>> dtm>gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 -r bilinear -te -2
0037508.34 -20037508.34 20037508.34 20037508.34 -of GTiff globe.vrt globe_3857_gdal.tifReturned this message>>Creating output file that is 194835P x 194835L.
>>Processing input file globe.vrt.
>>Using internal nodata values (eg. 0) for image merged.vrt.All my 'NoData' values are now '0' and I was wondering if there was a way to just keep them as 'NoData' (and still transparent when read by ArcMap - as the globe.vrt is now).
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
