Assignment 00

Basic setup and knowledge for the course



Python packages we will most likely use

We strongly recommend that you use virtual environments; mandatory it is not, but it’s the right way to work with Python and packages.

All of these can be installed easily with pip, just follow these instructions. pip should already be installed on your system if you have installed Python.

For Windows, download the proper binaries first if pip doesn’t work directly.

If pip is not accessible from your command-prompt/shell/terminal, read this guide.

How to install the C++ libraries CGAL and GDAL?

Windows

The simplest way to use CGAL (library to perform geometric operations in 2D, 3D, and even nD), GDAL (library to read/write all the vector/raster formats in GIS), or others (eg GEOS), under Windows is… to install Linux!?

Installing all the above is possible directly under Windows, but it is often a massive pain, so we recommend you use WSL–Windows Subsystem for Linux, that is you install a Linux environment “inside” your Windows (Win10 or Win11), and use this.

It works, and you can even use CLion (the Windows version) and use the compiler/libraries/debugger from WSL.

=> Just follow this tutorial

macOS

  1. install Homebrew
  2. install CGAL v5.0+ with brew install cgal
  3. install GDAL with brew install gdal

Useful software for the course

You are expected to know how the console (also called shell or terminal) works

This means you are comfortable with how files and directories are structured, how to navigate directories, how to create files/directories, etc. If this is not the case, then watch these 2 videos:

Basics of the console for macOS (or Linux), are here and here and also there.

If you use Windows, this is a nice overview.