logo

Course information

  • General info
  • Course environment
  • Grading
  • Learning goals
  • Installing Python
  • Creating a Python GIS environment
  • Resources
  • License and terms of usage

Lesson 1

  • Lesson overview
  • Motivation for the course
  • Shapely and geometric objects
  • Exercise 1

Lesson 2

  • Lesson 2 Overview
  • Key concepts
  • Vector Data I/O in Python
  • Introduction to Geopandas
  • Map projections
  • Creating new layers (extra)
  • Exercise 2

Lesson 3

  • Overview
  • Geocoding
  • Geocoding in Geopandas
  • Point in Polygon & Intersect
  • Spatial join
  • Nearest Neighbour Analysis
  • Spatial index - How to boost spatial queries?
  • Nearest neighbor analysis with large datasets
  • Exercise 3

Lesson 4

  • Overview
  • Geometric operations
  • Case: hospital districts
  • Data reclassification
  • Exercise 4

Lesson 5

  • Lesson 5 Overview
  • Static maps
  • Interactive maps
  • Case: Employment rate map
  • Sharing interactive plots on GitHub
  • Exercise 5

Lesson 6

  • Overview
  • Retrieving OpenStreetMap data
  • Network analysis in Python
  • Exercise 6

Final Assignment

  • Final assignment
  • Grading criteria for the final assignment
  • Final Assignment hints

Extra: PyQGIS

  • Overview
  • Python in QGIS
  • Additional PyQGIS functions

Extra: Raster

  • Overview
  • Automatize data download
  • Reading raster files with Rasterio
  • Visualizing raster layers
  • Masking / clipping raster
  • Raster map algebra
  • Creating a raster mosaic
  • Zonal statistics
  • Read Cloud Optimized Geotiffs
Theme by the Executable Book Project

Overview¶

In this tutorial, you will learn how to conduct many basic raster processing operations using rasterio module.

  1. Downloading data automatically with Python

  2. Reading raster files with Rasterio

  3. Visualizing raster layers

  4. Masking / clipping raster

  5. Raster map algebra

  6. Creating a raster mosaic

  7. Zonal statistics

  8. Reading cloud optimized GeoTIFFs

previous

Additional PyQGIS functions

next

Automatize data download

By Henrikki Tenkanen, Vuokko Heikinheimo & Håvard Wallin Aagesen
© Copyright 2021, Henrikki Tenkanen, Vuokko Heikinheimo & Håvard Wallin Aagesen, Department of Geosciences and Geography, University of Helsinki.
Last updated on Feb 23, 2022.