Dear list members,

I am trying to use polygonsToRaster function but I am not sure how to 
use it.
I want to convert  a shapefile to raster.  The shapefile is called 
"cobertura" and I have another of the same extent called "corredor".
Should I do:

r = raster(corredor)
r = polygonsToRaster(cobertura, r)

Should I use any other specific argument like overlap or getCover?

Best,

Manuel

-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río 
<https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to