Infrastructure#

This page explains which tools we will be using during this course and which software you will need to run the analyses.

Gitlab Repository#

All the materials for this course and this website are available on the following gitlab repository:

Please use the issues in gitlab to report problems you have with this book or when working on the exercises. (Make sure to login with your Heidelberg University student account.)

QGIS#

During the course QGIS will be the GIS software of choice. With QGIS you can create, edit, visualise, analyse and publish geospatial information on Windows, Mac and Linux. A wide range of plugins allows you to perform complex geospatial analysis which would otherwise require programming skills.

Please make sure that you run the latest long-term (or a newer) version of QGIS:

Make sure that you have installed the following plugins:

Python and Jupyter Notebooks#

Here you can find some resources that will help you to set up a running Python environment.

A very good introduction into this is provided by jckantor:

Setting up Python#

First, you need to make sure that you have Python installed on your computer.

For the examples here Anaconda will be a good choice. Anaconda comes with most packages that one needs to use Python for scientific analyses. So let’s install it.

Once, you’ve installed Anaconda, we just need to make sure that you can use the ohsome-py package (and all the other things that we need to run our analysis). You can install this easily.

env

Once you have installed your environment, make sure to update the packages to get their latest version.

If a package is missing, run the following steps:

  • Open Anaconda, navigate to you environment and press the green play button.

  • From there you can open your environment in the command line (Open Terminal).

  • The first step ist to install pip, use conda install pip

  • After that, you can install all the needed packages using the pip install command, e.g. pip install OSMPythonTools

Make sure that the following python packages are installed:

  • openrouteservice

  • ohsome

  • OSMPythonTools

  • geopandas

Connect to Google Colab#

This works as a fallback if your can’t set up python locally.

  • Create a Google account if you do not have one already.

  • Open Google Colab and log in

  • Create a new notebook.

  • Install the required python packages