Hello,

I would like to build 100-m buffers (representing ecological corridors) around 
land cover attributes in a raster layer and to assign a given value (i.e., 
value of 13) to buffer cells.


To do this, I'm using the function "buffer" (package raster) to draw the 
buffers around particular raster cells (i.e., cell values of 2 and 5). For 
example, in the image below, the buffers are represented in blue (cell values 
of 13) and the particular raster cells are represented in yellow (cell values 
of 2).


The problem is that the time to run the function "buffer" is very low because I 
have a raster of 5000000 cells. Does anyone know how I can reduce the buffering 
time ?


Thanks a lot for your time.

Have a nice day.

Nell


[cid:a5aea5ef-e76e-4670-9473-25ebaa73f0a3]
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to