-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
LIRiAP can be installed and used in two ways in QGIS.
This method is useful for quick testing and experiments without enabling a full plugin.
-
Locate your QGIS scripts folder:
- Windows:
C:\Users\<username>\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\scripts\ - Linux:
~/.local/share/QGIS/QGIS3/profiles/default/processing/scripts/ - macOS:
~/Library/Application Support/QGIS/QGIS3/profiles/default/processing/scripts/
- Windows:
-
Copy the algorithm pack:
- Copy the
LIRiAP_packfolder into the scripts folder
- Copy the
-
Restart QGIS (if already open)
-
Use the algorithms:
- Open Processing Toolbox (
Processing→Toolbox) - Search for "LIRiAP"
- Algorithms appear under Scripts → LIRiAP
- Open Processing Toolbox (
- This method doesn't require enabling a plugin
- Changes to scripts require QGIS restart to take effect
- Good for testing individual algorithms
This is the recommended method for regular use, as it provides better integration with QGIS.
-
Locate your QGIS plugins folder:
- Windows:
C:\Users\<username>\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\LIRiAP\ - Linux:
~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LIRiAP/ - macOS:
~/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LIRiAP/
- Windows:
-
Copy the plugin files: Create the
LIRiAPfolder and copy:- The
LiRiAP_provider/folder - The
LIRiAP_pack/folder
- The
-
Enable the plugin:
- Open QGIS
- Go to
Plugins→Manage and Install Plugins - Find "LIRiAP" in the list
- Check the box to enable it
-
Verify installation:
- Open Processing Toolbox
- Look for "LIRiAP" group in the algorithm list
-
Open Processing Toolbox:
Processing→Toolbox(or pressCtrl+Alt+T/Cmd+Alt+T) -
Find the algorithm: Search for specific algorithm name or expand the LIRiAP group
-
Configure and run: Select input layer, adjust parameters, click Run
-
View results: Output layer is created (in memory or saved)
- NumPy, SciPy, Shapely (typically included with QGIS)
Numba provides JIT compilation that significantly speeds up computations.
pip install numba
Or enable AUTO_INSTALL_NUMBA in algorithm settings.
Algorithms not appearing:
- Verify correct folder location
- Check for Python errors in Log Messages panel (
View→Panels→Log Messages→Python)
"Module not found" errors:
pip install numpy scipy shapely numba
Navigation