chjch / pylusat-qgis

A QGIS plugin that provides an interface to PyLUSAT.
GNU General Public License v3.0
5 stars 0 forks source link

PyLUSAT for QGIS

The Python for Land-use Suitability Analysis Tools (PyLUSAT) is an open-source Python package dedicated for GIS-based land-use suitability modeling. This QGIS plugin provides interfaces to all functions in PyLUSAT to allow easy access and better integration into the QGIS processing framework.

pylusatq

For more information of PyLUSAT toolkit: https://github.com/chjch/pylusat or https://pypi.org/project/pylusat/

Requirements

Installation

1. Set up PyLUSAT

In Windows:

  1. We suggest two ways to set up your computer for PyLUSAT.
    For beginners:

    1. Visit PyLUSAT GitHub repository. Click Code, and then Download ZIP to download the pylusat-qgis repository.
    2. Copy `pylusat_installer.bat`, paste it under QGIS folder in your system. This file will install the prerequisite packages needed to use PyLUSATQ.
    3. Right Click the copied pylusat_installer.bat to Run as administrator.

    **OR, if you are familiar to work with terminals:**
    Visit PyLUSAT GitHub repository. Copy and paste the code in *pylusat_installer.bat* to your terminal under the QGIS folder and run it.
    >**Note**:
    >The `pylusat_installer.bat` file helps you clean your environment and >install proper pre-required packages. Noted that:
    1. we use `pipwin` >instead of `pip` or `conda` considering the compatibility of QGIS and the >packages.
    2. we apply `pipwin refresh` to force a cache rebuild in case >any potential conflicts.
    For more information about the PyLUSAT >plugin, please visit https://github.com/chjch/pylusat.
  2. In the pop-up window:

    installer terminal

    1. Specify your root folder of QGIS:The same where you place the installer. - For example C:\Program Files\QGIS 3.29.7
    2. Is the QGIS a long term release [Y/N]: Refer to the version you installed. Type Y for long term release. N for short term release.
    3. - The easiest way to identify this is by Opening QGIS and seeing if there is a banner on the splash screen labeling it as a long term release.
  3. Press Enter key and wait for the installation to complete.

In macOS: Use pip install pylusat in Python Command Prompt of QGIS.

2. Install PyLUSATQ plugin

QGIS toolbar with plugin installation option QGIS plugin window with PyLUSATQ as search result