1.2.1 Installation

LSAT is distributed in two ways: Installer for Windows and as source code.

1.2.1.1 Installation with the installer (Windows)

  1. Download the newest LSAT installer

  2. Run the installer and follow the instructions.

1.2.1.2 Installation with source code on Windows

  1. Make sure you have Python 3 installed (3.7 tested), if not you can get it from python.org/downloads

  2. Download LSAT

  3. Navigate to the LSAT directory and open a PowerShell window (if you downloaded a zipped version you will need to unzip LSAT first).

  4. Create a virtual environment

python -m venv venv
  1. Activate the virtual environment (venv should appear in the command line, indicating you were successful)

.\venv\Scripts\activate
  1. Install the required packages

python -m pip install -r requirements.txt

Additionally to the packages listed in the requirements.txt you will need GDAL (3.3.1 tested). Unfortunately, GDAL can usually not simply be installed with a pip command. You can either download a .whl file from Christoph Gohlkes fantastic website or build it yourself. Installing a .whl file:

python -m pip install *path to .whl file*
  1. Start LSAT PM

python startMenu_main.py

1.2.1.3 Installation with source code on Linux (Ubuntu 20.04.3 tested)

  1. Download LSAT

  2. Navigate to the LSAT directory and open a Terminal (if you downloaded a zipped version you will
    need to extract LSAT first).
  3. Install Python packages (venv, pip, python development tools), gdal and libraries for Qt

sudo apt install python3-venv python3-pip gdal-bin libgdal-dev python3-dev '^libxcb.*-dev'
  1. Create a virtual environment

python3 -m venv venv
  1. Activate the virtual environment (venv should appear in the command line, indicating you were
    successful)
source venv/bin/activate
  1. Install the required packages

python3 -m pip install -r requirements.txt

Additionally to the packages listed in the requirements.txt you will need GDAL (3.0.4 tested). Unfortunately, GDAL can usually not simply be installed with the standard pip command. You need to specify the version based on the gdal version installed. To get the installed version run

ogrinfo --version

It will output something like: “GDAL $VERSION, released $RELEASEDATE”. Now install that version

python3 -m pip install gdal==$VERSION
  1. Start LSAT PM

python3 startMenu_main.py