Assignment 00
Basic setup and knowledge for the course
- Python packages we will most likely use
- How to use the C++ libraries CGAL and GDAL under Windows?
- Useful software for the course
Python packages we will most likely use
- Python 3.7+
- startinpy (Delaunay triangulator)
- laspy (read/write of LAS/LAZ files)
- install to read LAZ if possible:
pip install laszip
pip install laspy
- test it with a LAZ file, eg AHN3
- scipy (different data structures and algorithms)
- rasterio (GDAL bindings for Python)
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.
We strongly recommend that you use virtual environments; mandatory it is not, but it’s the right way to work with Python and packages.
How to use the C++ libraries CGAL and GDAL under 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.
It doesn’t work? Best is to ask Özge, she wrote the tutorial and is a pro!
Useful software for the course
- QGIS: it has a rudimentary 3D viewer that could be useful and all of GDAL is available
- GDAL utilities: to process rasters (included with QGIS)
- CloudCompare: to view/edit/process point clouds
- Blender and BlenderGIS: to view DTM and render them beautifully