Lesson 5 overview

During this lesson we will learn to work with Raster data, the other commonly used GIS data type:

  1. Working with Raster data

  2. Calculating NDVI and Hillshading

Learning goals

After this lesson’s lesson you should be able to:

  • understand the Raster data model, and the difference to vector/feature data

  • load and analyse raster datasets with RasterIO and RasterStats

  • do raster algebra, basic satellite data processing (NDVI) and hillshading with EarthPy

  • plot, extract and save raster data files


Following materials are partly based on documentation of RasterIO, RasterStats , the high-level EarthPy package and the underlying GIS powerhouse library GDAL.

The lesson also reuses materials from The Carpentries licensed under CC-BY 4.0 2018–2020 from Introduction to Geospatial Concepts course.