[general]
name=Forestry Operations Lite
qgisMinimumVersion=4.0
qgisMaximumVersion=4.99
description=Terrain analysis for forestry sites: DEM/DSM loading, slope, TWI, stability index, and flow accumulation.
version=1.0.2
author=Hideharu Masai
email=hideharumasai@void.mints.ne.jp

about=Supports forestry site assessment through terrain analysis using DEM/DSM data. Computes slope, topographic wetness index (TWI), infinite-slope stability factor of safety, and rational-formula flow accumulation. Requires numpy, GDAL, and scipy (bundled with most QGIS installations). Support: https://paypal.me/rawslnc

tracker=https://github.com/raw-slnc/forestry_operations_lite/issues
repository=https://github.com/raw-slnc/forestry_operations_lite

hasProcessingProvider=no
changelog=
    1.0.2 - Fix crash on plugin load when scipy is not installed (missing Qgis.MessageLevel enum scoping); add scipy requirement notice to Terrain Data tab (hidden automatically when scipy is available) and update FOL.html help with a bilingual EN/JA scipy install guide; convert the plugin window from a QDockWidget-based floating panel to a plain top-level QWidget window, removing a dock-area registration step that could affect the width of QGIS's Layers panel on first launch and a non-functional dock/float toggle button on the window's title bar
    1.0.1 - Fix Windows Alt+Tab visibility when reopening the floating plugin window; preserve terrain result display state across analysis-run changes so comparison workflows do not reset visible layers unnecessarily
    1.0.0 - QGIS 4.x support
    0.2.9 - Fix a critical issue: High Risk Areas now correctly applies the user-configured FS threshold
    0.2.8 - Final QGIS 3.x maintenance release focused on plugin-submission security hardening: verify Bandit scan passes with no findings, confirm no secrets are detected in the package, and keep the release limited to security/readiness updates without adding new user-facing features
    0.2.7 - Add flow direction method for Valley Terrain (TWI): choose D8 (single steepest), D-infinity, or MFD (multiple flow) via mutually-exclusive selector in the Valley Terrain parameters. Applies to TWI/valley delineation only; flow estimation stays D8. Help (FOL.html) and README updated with a method comparison (sample renders) and a note that the TWI threshold needs re-tuning per method
    0.2.6 - Remove .bandit config file (not used by QGIS scanner; flagged as hidden file)
    0.2.5 - Bundle defusedxml as vendor library; safe XML parsing on Windows QGIS where defusedxml is not pre-installed
    0.2.4 - Fix bandit security scan warnings: replace xml.etree.ElementTree with defusedxml (B405/B314); suppress false-positive urlopen scheme audits with nosec B310; suppress intentional bare-except patterns with nosec B110
    0.2.3 - Analysis run selector now sorted newest-first (descending order); replace blockSignals(True/False) pairs with QSignalBlocker to prevent signal lockout on exception; fix /vsimem/ memory leak in flow buffer: register mem_path immediately after gdal.Create() to ensure Unlink on cleanup; warn on startup if scipy is not installed
    0.2.2 - Fix persistent PermissionError on Windows when overwriting analysis results: add gc.collect() and processEvents() after layer removal to force OGR/GDAL handle release, with up to 5 retries at 0.3 s intervals
    0.2.1 - Improve out-of-range handling for non-VS DEM sources: show status message when canvas has no DEM coverage; warn once per DEM load when canvas partially extends beyond data bounds, then proceed silently on subsequent runs
    0.2.0 - Auto-resample high-resolution DEM/DSM (finer than 0.2 m) to 0.5 m before analysis; resample indicator added to Area Limit section; non-VS data sources (e.g. WebODM) no longer trigger re-acquisition dialog — analysis proceeds on available data extent only; DSM is clipped to canvas extent before use to ensure correct canopy-height integration
    0.1.9 - Fix PermissionError on Windows when overwriting analysis results: release locked layers from QgsProject before deleting the output folder
    0.1.8 - Add help link (FOL.html) to Analysis tab corner
    0.1.7 - Bundle laspy as vendor library (no manual installation required); add curvature and surface complexity analysis to terrain processing pipeline; fix DEM browser not showing web sources before a local folder is set
    0.1.6 - VS LP DSM: use LP/Original (all-return) where available, fall back to LP/Ground (all-return for 2019/2020/2021-east/2022); DSM creation confirmation dialog with skip option; WODMI export enabled without DSM (VS DEM only); download timeout extended to 600s; Grid tile caching; restored 2025 to Grid year priority
    0.1.5 - Add area limit check before analysis; add Stop Analysis button to cancel mid-run; README restructured to separate general features from Shizuoka-only features
    0.1.4 - Virtual Shizuoka point cloud support and webodm_importer export (Shizuoka Prefecture, Japan)
    0.1.3 - Global DEM support: AWS Terrarium tiles (worldwide, no registration); geographic CRS cell_size meter conversion (cos-lat correction); Web Mercator high-latitude distortion fix; analysis output written to hidden temp folder then single rename to reduce file manager wait; preview status bar shows area (ha); fix main canvas not refreshing when hiding analysis layers
    0.1.2 - DEM browser: add Copernicus GLO-30 link (global), hide GSI tiles outside Japan, auto UTM reproject after GSI tile fetch, CRS warning and Tips accordion in Data Setup
    0.1.1 - UI overhaul: English UI, parameter tabs restructured (1 item/row with hints), layout spacing fixed, tab height auto-fit
    0.1.0 - Initial release

tags=python,forestry,terrain,dem,slope,twi,stability,flow direction,mfd

homepage=https://github.com/raw-slnc/forestry_operations_lite
category=Raster
icon=icon.png
experimental=False
deprecated=False
server=False
