Skip to content
Prev 19323 / 29559 Next

writeRaster to TIF changes raster maximum value

Dear Robert,

Here's a link to 2 images: the original raster (full) and the cropped
one (sub):

https://www.dropbox.com/sh/8zo8fo964kr6ttk/pH1JIpTZ1C

The original raster has Byte values, as you suspected. But I don't know
how to handle that so that it's not used as NA value. From what I read, 
NA values in the original raster should be 0, and minimum and maximum 
values should be 1 and 255, respectively.

Thanks for helping,

Guillaume

Le 2013-09-16 11:41, Robert J. Hijmans a ?crit :