AnsweredAssumed Answered

Exporting raster causes change in pixel value range.

Question asked by ShackletonTea on Jul 28, 2020

I have a WorldView-2 satellite raster which I re-projected from WGS84 to WGS84/UTM using Raster Project. I wish to export this from outside the geodatabase so I can share it with colleagues. However, when exporting the re-projected raster to my desktop (via right-clicking on it from the contents pane -> export), the exported raster has a changed pixel value range and white stripes appear where there was previously no data. I used the default settings when exporting.

The white background stripes are caused by areas beyond the original raster extent (i.e., areas of no-data in the original raster) being assigned high-pixel values (65535) when exported. To resolve this, I've tried to set the "NoData Value" to zero. This removes the white background stripes. However, it also causes the exported raster's pixel range to begin from 1 rather than 0.


My original raster pixel value range is 0 - 1504. When exported using default settings, a white background appears beyond the raster extents and the pixel value range is 0 - 65535. To resolve this, I've exported the raster with setting the Nodata value to 0. This removes the white background, however, it also causes the pixel range to go from 1-1504. 

How can I export my raster image without creating pixels beyond the original extents or changing the pixel value range?