Introduction to Geospatial Raster and Vector with Python

Faculty of ITC, University of Twente

Feb 14-15, 2024

9:30 am - 05:00 pm CEST For Day 1, 9:15 am - 12:30 pm CEST for Day 2

Instructors: Rosa Aguilar, Robert Ohuru, Jay Gohil

Helpers: Adhitya Bhawiyuga, Indupriya Mydur

General Information

Python is one of the most popular programming languages for data science and analytics, with a large and steadily growing community in the field of Earth and Space Sciences. In this workshop, we will help participants with a working knowledge of Python to familiarize with the world of geospatial raster and vector data. We will introduce a set of tools from the Python ecosystem and show how these can be used to carry out practical geospatial data analysis tasks. In particular, we will consider satellite images and public geo-datasets and demonstrate how these can be opened, explored, manipulated, combined, and visualized using Python. This workshop organized by the Center of Expertise in Big Geodata Science (CRIB) will cover the following aspects of geospatial data processing:

Where: Langezijds LA 2105, Hallenweg 8, Enschede. Get directions with OpenStreetMap or Google Maps.

When: Feb 14-15, 2024. Add to your Google Calendar.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).

Accessibility: We are committed to making this workshop accessible to everybody. For workshops at a physical location, the workshop organizers have checked that:

Materials will be provided in advance of the workshop and large-print handouts are available if needed by notifying the organizers in advance. If we can help making learning easier for you (e.g. sign-language interpreters, lactation facilities) please get in touch (using contact details below) and we will attempt to provide them.

Contact: Please email or for more information.

Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.

Who can attend?: This workshop is open to all UT students and staff

Code of Conduct

Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.

Collaborative Notes

Collaborative Document for Day 1:Link

Collaborative Document for Day 2:Link

Please be sure to complete these surveys before and after the workshop.

Pre-workshop Survey

Post-workshop Survey


Day 1

9:30 - 9:45 Welcome and icebreaker
9:45 - 10:00 Introduction to raster, vector, and CRS
10:00 - 11:00 Access satellite imagery using Python
11:00 - 11:15 Coffee break
11:15 - 12:30 Read and visualize raster data
12:30 - 13:30 Lunch break
13:30 - 14:30 Vector data in Python
14:30 - 14:45 Coffee break
14:45 - 15:45 Raster data preprocessing with rioxarray and geopandas
15:45 - 16:00 Short break
16:00 - 16:40 Raster calculations in Python
16:45 - 17:00 Wrap-up
17:00 End of Day 1

Day 2

9:15 - 9:30 Welcome and icebreaker
9:30 - 10:45 Calculating Zonal Statistics on Rasters
10:45 - 11:00 Coffee break
11:00 - 12:15 Parallel raster computations using Dask
12:15 - 12:30 Wrap-up
12:30 END


To participate in this workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

Software Setup

To be able to follow this workshop, a few setup steps are required. Please follow the Setup Instruction. setup instructions in preparation for the workshop.

This instruction will help you to:

Please make sure you have followed this instruction to setup in advance.