4.2 Learning Objectives Spatial Operations on Rasters

  • subsetting with Raster data -terra package
    • clipping raster 1 falls within extent of second raster
    • masking - logical raster w/ T/F values subsets the other raster
    • map algebra - operations that modify or summarize raster cell values with reference to surrounding cells, zones or stat functions that apply to every cell
      • Four Sub classes of map algebra
        • Local (per cell)
        • Focal (neighborhood operations)
        • Zonal (surrounding pixel grid - can be irregular size/shape)
        • Global (one or several entire rasters)
      • Equate the map algebra operations to their vector processing counterparts
      • Merging Rasters