<div dir="ltr"><div>Thanks for the workaround and quick fix. The VRT addresses the issue on the data end. Now it's only an ArcGIS problem :)</div><div><div><br></div><div>Jason</div><div class="gmail_extra"><br></div><div class="gmail_extra">
<br><div class="gmail_quote">On Wed, Apr 6, 2016 at 3:10 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">Le mercredi 06 avril 2016 20:38:36, Jason Greenlaw - NOAA Affiliate a écrit :<br>
> Hello,<br>
><br>
> I've run into a snag trying to assign a negative NoData value to a Signed<br>
> Byte raster.<br>
<br>
</span>Jason,<br>
<br>
I've just pushed a fix for that in trunk (signed byte is a bit of a second<br>
class citizen as a data type in GDAL, hence the issues) to avoid the erroneous<br>
clamping. You're supposed to put negative values.<br>
You can workaround the issue by first creating a VRT by adding<br>
<br>
<NoDataValue>-128</NoDataValue><br>
<Metadata><br>
<MDI key="PIXELTYPE">SIGNEDBYTE</MDI><br>
</Metadata><br>
<br>
in <VRTRasterBand><br>
<br>
and then gdal_translate the VRT as TIFF<br>
<span class=""><font color="#888888"><br>
Even<br>
<br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div></div></div>