[general]
name=MAS Spatial Analysis Tool
qgisMinimumVersion=3.0
qgisMaximumVersion=4.99
description=Comprehensive DEM analysis toolkit with 45+ hydrological, geomorphometric, and stream network tools. Numba-accelerated for fast processing.
version=1.2.1
author=Mirjan Ali Sha
email=mastools.help@gmail.com
license=GNU GPL v3

about=Professional-grade terrain analysis toolkit for QGIS featuring:
    
    • Hydrological Analysis: D8 flow direction, flow accumulation, watershed delineation, depression filling, flow indices (TWI, SPI), flow distance/length, basin analysis
    
    • Geomorphometric Analysis: Slope, aspect, curvature, hillshade, roughness, TPI, openness, visibility analysis, hypsometric analysis
    
    • Stream Network: Stream extraction, Strahler/Shreve ordering, stream links, vectorization, gap joining, valley extraction
    
    • Structured Workflow: Organized tools following standard hydrology analysis workflow
    
    Key Features:
    - Numba JIT acceleration for 10-100x faster processing
    - Standard D8 flow direction encoding (industry-compatible)
    - Automatic symbology for flow direction and stream order
    - NoData handling with -9999 standard
    
    How to Use:
    1. Open Processing Toolbox (Ctrl+Alt+T)
    2. Expand "MAS Spatial Analysis Tool"
    3. Select algorithm category (Hydrological, Geomorphometric, Stream Network)
    4. Double-click tool to run
    5. Typical workflow: Fill DEM → Flow Direction → Flow Accumulation → Extract Streams

tracker=https://github.com/Mirjan-Ali-Sha/mas_spatial_analysis_tool/issues
repository=https://github.com/Mirjan-Ali-Sha/mas_spatial_analysis_tool
homepage=https://github.com/Mirjan-Ali-Sha/mas_spatial_analysis_tool/wiki

category=Processing
icon=icons/mas_icon.png
experimental=False
deprecated=False

tags=hydrology,geomorphology,terrain,DEM,watershed,stream,flow,accumulation,direction,slope,aspect,curvature,hillshade,processing,spatial-analysis,numba,hydrological-analysis,geomorphometric-analysis,stream-network-analysis

changelog=

    1.2.1 - 2026-08-09
        • QGIS 4 and Qt6 compatibility updates
        • Fixed all Bandit security audit issues
    1.2.0 (2026-01-01)
    - FIXED: FlowRouter.join_stream_gaps() method now accessible (critical structure fix)
    - FIXED: "Raster to Vector Streams (with Gap Filling)" now works correctly
    - NEW: Smart stream network cleaning with gap filling + outlier removal
    - NEW: Minimum stream length filter to remove short segments
    - NEW: Isolated stream removal using flow accumulation
    - IMPROVED: No longer creates .qml files when "Open output file" is unchecked
    - IMPROVED: Connect Vector Streams algorithm restructured with extend-break-clean approach
    - IMPROVED: FlowRouter class methods properly organized
    

    1.1.0 (2025-12-28)
    - NEW: Join Stream Links algorithm for gap filling in stream networks
    - NEW: Flow Direction Method selector (D8, Rho8, DINF, MFD)
    - NEW: Comprehensive algorithm documentation (ALGORITHMS.md)
    - IMPROVED: Extract Streams now shows expression using standard raster algebra syntax
    - IMPROVED: Standardized NoData value to -9999 across all algorithms
    - IMPROVED: Professional symbology for Flow Direction (8-color directional)
    - IMPROVED: Stream Order symbology with 10-color gradient
    - IMPROVED: Flow Accumulation dynamic symbology based on data range
    - FIXED: Stream extraction now properly outputs 0/1 binary raster
    - FIXED: Symbology loading for all hydrological outputs
    
    1.0.0 (2024-11-15)
    - Initial release
    - 11 Geomorphometric analysis tools
    - 15 Hydrological analysis tools
    - 12 Structured hydrology tools (standard workflow)
    - 8 Stream network analysis tools
    - Numba-accelerated algorithms
