Skip to content
Prev 26766 / 29559 Next

Problems converting rasters from float to integer.

I'm pretty sure readGDAL from rgdal (that raster uses) will keep as
integers, so you can build an empty raster and copy the values over. But
will need to derive from the rgdal version to catch all the metadata
(structure, extent, and crs).

I think it's doable and will try later. There are other options but nothing
trivial afaik.

Cheers, Mike
On Fri, 24 Aug 2018, 16:45 nevil amos <nevil.amos at gmail.com> wrote: