Skip to content
Prev 22571 / 29559 Next

Raster map from data.frame

Hi everybody, I need help with a big dataset that I need to transform in a
group of raster files. I have a big .csv (2 GB with 5 millions rows and 90
columns) which I want to transform in a group of raster images. The First
two culms represent the geographical coordinates while the others 88
columns represent the values I want to give to each cell of each raster
(temperatures, precipitations etc...). The database is compiled only with
the cells that will have a value (NA cells were not calculated).  I often
used the data.frame2ascii function of SDMTools package but in this case the
function doesn't works (too many rows maybe?).
Any suggestion? I prefer the .asc format but even GeoTiff or other formats
would be ok.

Manu thanks,
Maurizio