Lesson 6 Overview

This lesson we will focus on learning how to create beautiful maps in Python with different levels of interactivity and modes of presentation.

  1. Static maps

  2. Interactive maps with bokeh

  3. Interactive Leaflet maps with Folium

  4. Exercise 4

  5. Exercise 4 hints

  6. Examples

There are many different Python modules that can be used for making visualizations. And many of them allows you to create also different kinds of maps. During this lesson we will focus on few of them, namely:

In addition to these modules, there are also several good and interesting other modules for making maps that we will NOT cover, but we mention them if you like to investigate by yourself later on:

Learning goals

After this lessons lesson you should be able to (at least):

  • Create a static map using Geopandas (using the integrated matplotlib module)

  • Create a simple interactive map using Bokeh

  • Create a simple interactive web map using Folium (using the LeafletJS JavaScript web map library).

Sources

Following materials are partly based on documentation of Geopandas, Matplotlib, Bokeh, and Folium.

The lesson reuses materials from Henrikki Tenkanen from the University of Helsinki, under CC-BY-SA from from AutoGIS GitHub repository.