I need to be able to sample many raster files (imported from GeoTIFFs) using a previously defined set of spatial points, using R. What's the best way to do this?


1 Answer 1


The "extract" function in the raster package will extract raster values to points for a stack or single raster.

  • This answer is perfect. Should it perhaps be added to the question that my question has been tagged as duplicating? Apr 9, 2014 at 16:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.