[general]
name=Forestry Operations Lite
qgisMinimumVersion=3.16
description=Terrain analysis for forestry sites: DEM/DSM loading, slope, TWI, stability index, and flow accumulation.
version=0.2.4
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=
    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

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