<p dir="ltr">Hi,</p>
<p dir="ltr">Not sure but the value of 'none' removes the nodata value while putting a number will make that value a nodata value. <br></p>
<p dir="ltr">-dstnodata value [value...]:<br>
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)</p>
<p dir="ltr">Nicolas Cadieux M.Sc.<br>
Les Entreprises Archéotec inc. <br>
8548, rue Saint-Denis Montréal H2P 2H2<br>
Téléphone: 514.381.5112 Fax: 514.381.4995<br>
www.archeotec.ca</p>
<div class="gmail_quote">On Jun 29, 2015 19:14, Ruth Simm <goldfish_and_muskie@yahoo.com> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:'helveticaneue' , 'helvetica neue' , 'helvetica' , 'arial' , 'lucida grande' , sans-serif;font-size:16px"><div dir="ltr">Interesting.I am using GDAL 1.9.1 - so it didn't seem to be an option in this older ver.</div><div dir="ltr"><br /></div><div dir="ltr">do you know how it is different then '-srcnodata None'?<br /></div><div></div> <br /><div><br /><br /></div><div style="display:block" class="elided-text"> <div style="font-family:'helveticaneue' , 'helvetica neue' , 'helvetica' , 'arial' , 'lucida grande' , sans-serif;font-size:16px"> <div style="font-family:'helveticaneue' , 'helvetica neue' , 'helvetica' , 'arial' , 'lucida grande' , sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, June 28, 2015 7:30 AM, Nicolas Cadieux <nicolas.cadieux@archeotec.ca> wrote:<br /> </font> </div> <br /><br /> <div><div><div><div dir="ltr">-dstnodata value [value...]:</div>
<div dir="ltr">http://www.gdal.org/gdalwarp.html</div>
<div dir="ltr">Nicolas Cadieux M.Sc.<br clear="none" />
Les Entreprises Archéotec inc. <br clear="none" />
8548, rue Saint-Denis Montréal H2P 2H2<br clear="none" />
Téléphone: 514.381.5112 Fax: 514.381.4995<br clear="none" />
www.archeotec.ca</div>
<div><div>On Jun 26, 2015 7:20 PM, Ruth Simm <goldfish_and_muskie@yahoo.com> wrote:<br clear="none" /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:'helveticaneue' , 'helvetica neue' , 'helvetica' , 'arial' , 'lucida grande' , sans-serif;font-size:16px"><div>Using this:</div><div><br clear="none" /></div><div dir="ltr">>> dtm>gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 -r bilinear -te -2<br clear="none" />0037508.34 -20037508.34 20037508.34 20037508.34 -of GTiff globe.vrt globe_3857_gdal.tif</div><div dir="ltr"><br clear="none" /></div><div>Returned this message</div><div><br clear="none" /></div><div><br clear="none" /></div><div dir="ltr">>>Creating output file that is 194835P x 194835L.<br clear="none" />>>Processing input file globe.vrt.<br clear="none" />>>Using internal nodata values (eg. 0) for image merged.vrt.</div><div dir="ltr"><br clear="none" /></div><div dir="ltr">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).<br clear="none" /></div><div><br clear="none" /></div></div></div></blockquote></div></div></div></div><br /><br /></div> </div> </div> </div></div></div></blockquote></div>