[R-sig-Geo] Raster format and compression

Maurizio Marchi mauriziomarchi85 at gmail.com
Thu Jan 22 14:40:49 CET 2015


Hello everybody.
I need help with writeRaster function of raster package. I downloaded
WorldClim rasters with 30 second of spatial resolution and I need to change
the projection from WGS84 to ETR89-LAEA. I used projectRaster function and
everything goes fine but when I write the raster map in .tif format, the
same of the input file, the result is much heavier than the first one
(approximately 200 MB versus 45 MB). Is there a particular option of
writeRaster function that I'm missing? Maybe the possibility to compress
the final raster? And which compression should be used?

Many thanks

-- 
Maurizio Marchi
Calenzano (FI) - Italy
ID Skype: maurizioxyz
Ubuntu 14.04 LTS
linux user 552742

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list