Overview

In this week we will see how to easily retrieve OpenStreetMap data and how to do simple network analysis in Python.

Learning goals

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

  • Retrieve data from OpenStreetMap using Python

  • Extract simple street network properties and statistics (centrality measures etc.)

  • Do simple route optimization using shortest path algorithm in OSMnx / Networkx

Sources

This week’s lecture materials are based on documentation of osmnx, networkx and OpenStreetMap.

Lesson videos

Meet the developer: Introduction to OSMnx package by Geoff Boeing

Henrikki Tenkanen interviewing Geoff Boeing, University of Helsinki @ AutoGIS channel on Youtube.

Lesson 6 - Fetching OpenStreetMap Data using OSMnx in Python

Vuokko Heikinheimo, University of Helsinki @ AutoGIS channel on Youtube.

Lesson 6 - Network analysis and routing in Python using OSMnx and NetworkX -packages

Vuokko Heikinheimo, University of Helsinki @ AutoGIS channel on Youtube.