Raster GIS

Raster metadata and styling, the raster calculator, clipping, reclassification, terrain and zonal statistics.

  1. Understanding raster metadata, NoData and stylingRead a raster's size, cell size, bands, data type, CRS and NoData value, then style it in grey, pseudocolour, RGB or classified mode with a contrast stretch.Beginner2 min
  2. Using the raster calculator (NDVI example)Compute new rasters from band values with the raster calculator, using band references, NoData-safe arithmetic and conditions, with NDVI as the worked example.Intermediate2 min
  3. Clipping rasters by extent or by a polygonCut a raster to a rectangle or to the shape of polygons, set the cells outside to NoData, and crop the grid to the polygon extent.Intermediate2 min
  4. Reclassifying raster values into classesTurn continuous raster values into classes with a reclassification table, for example elevation zones, and count the cells of each class.Intermediate2 min
  5. Terrain analysis with slope, hillshade and contoursDerive slope, aspect, hillshade and contour lines from a digital elevation model, and understand the z factor and units.Intermediate2 min
  6. Zonal statistics: summarising raster values by polygonCalculate the count, mean, minimum, maximum, standard deviation and median of raster cells inside each polygon, such as the elevation of every ward.Intermediate2 min