Operations With Raster Data I
Content for Monday, September 26, 2022
Readings
Now that we’ve learned a bit about the raster data model, we’ll begin using terra to manage and manipulate rasters. We’ll start with some of the predicate and measure functions and build up to more complex transformations.
The
terrapackage vignette describes the new raster functions available interra, their relationship to those in therasterpackage, and the changes in syntax between the two.The Raster GIS Operations in R with terra chapter from Jasper Slingsby’s “A Minimal Introduction to GIS (in R)” bookdown project has worked examples of many of the operations we’ll learn today.
Objectives
By the end of today, you should be able to:
Evaluate logical conditions with raster data
Calculate different measures of raster data
Align rasters for spatial processing
Slides
The slides for today’s lesson are available online as an HTML file. Use the buttons below to open the slides either as an interactive website or as a static PDF (for printing or storing for later). You can also click in the slides below and navigate through them with your left and right arrow keys.
View all slides in new window Download PDF of all slides