Thanks for the workaround and quick fix. The VRT addresses the issue on the data end. Now it's only an ArcGIS problem :)
Jason On Wed, Apr 6, 2016 at 3:10 PM, Even Rouault <even.roua...@spatialys.com> wrote: > Le mercredi 06 avril 2016 20:38:36, Jason Greenlaw - NOAA Affiliate a > écrit : > > Hello, > > > > I've run into a snag trying to assign a negative NoData value to a Signed > > Byte raster. > > Jason, > > I've just pushed a fix for that in trunk (signed byte is a bit of a second > class citizen as a data type in GDAL, hence the issues) to avoid the > erroneous > clamping. You're supposed to put negative values. > You can workaround the issue by first creating a VRT by adding > > <NoDataValue>-128</NoDataValue> > <Metadata> > <MDI key="PIXELTYPE">SIGNEDBYTE</MDI> > </Metadata> > > in <VRTRasterBand> > > and then gdal_translate the VRT as TIFF > > Even > > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev