Skip to content

Installation

Wolren edited this page Apr 30, 2026 · 5 revisions

Installation & Usage

LIRiAP can be installed and used in two ways in QGIS.

Option 1: As Script Folder (Quick Testing)

This method is useful for quick testing and experiments without enabling a full plugin.

Steps

  1. 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/
  2. Copy the algorithm pack: Copy the LIRiAP_pack folder into the scripts folder

  3. Restart QGIS (if already open)

  4. Use the algorithms: Open Processing Toolbox (ProcessingToolbox), search for "LIRiAP", algorithms appear under ScriptsLIRiAP

Notes

  • Doesn't require enabling a plugin
  • Changes require QGIS restart
  • Good for testing

Option 2: As Plugin Provider (Recommended)

Recommended for regular use with better QGIS integration.

Steps

  1. Locate your QGIS plugins folder:

    • Windows: C:\Users\<username>\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\LIRiAP\
    • Linux/Mac: ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LIRiAP/
  2. Copy the plugin files: Create LIRiAP folder and copy LiRiAP_provider/ and LIRiAP_pack/

  3. Enable the plugin: PluginsManage and Install Plugins → find "LIRiAP" → enable

  4. Verify: Look for "LIRiAP" group in Processing Toolbox


Running an Algorithm

  1. Open Processing Toolbox (Ctrl+Alt+T)
  2. Find algorithm (search or expand LIRiAP group)
  3. Select input layer, adjust parameters, click Run
  4. View results (output layer created)

Dependencies

Required: NumPy, SciPy, Shapely (typically included with QGIS)

Optional: Numba for JIT acceleration: pip install numba Or enable AUTO_INSTALL_NUMBA in algorithm settings.


Troubleshooting

Algorithms not appearing:

  • Verify folder location
  • Check Log Messages panel (ViewPanelsLog MessagesPython)

"Module not found": pip install numpy scipy shapely numba


Navigation

Clone this wiki locally