{"name": "Hotspot Analysis v3", "package_name": "HotSpotAnalysis_v3", "version": "4.0.0", "experimental": false, "qgis_min": "3.22.0", "qgis_max": "4.99.0", "downloads": 2654, "uploaded_by": "ceredajunior", "upload_datetime": "2026-05-06T15:40:53.396571", "changelog": "4.0.0\n- Complete migration to QGIS Processing framework (QgsProcessingAlgorithm)\n- Three independent algorithms in the Processing Toolbox, Graphical Modeler, and batch mode\n- Compatible with QGIS 3.22+ and 4.x via qgis.PyQt \u2014 no custom dialog required\n- Provider structure: Hotspot Analysis v4 > LISA (extensible for future methods)\n- Fixed: G_Local now uses star=True \u2014 correct Gi* definition; previous versions\ncomputed Gi (star=False), a different statistic\n- Fixed: p-values use 1-Phi(|Z|) \u2014 one-tailed with absolute Z-score, aligned with\nGeoDa and Ord & Getis (1995); previous versions used signed Z causing cold spots\nto be invisible in output styles\n- Fixed: removed Z-score sign flip for datasets with negative mean \u2014 methodological\nbug present since v1 with no reference implementation support\n- Fixed: output field names changed from hyphens (Z-score, p-value, q-value) to\nunderscores (Z_score, p_value, q_value) \u2014 hyphens broke QML filter expressions\nsilently, causing Moran styles to never work in any prior release\n- New parameter: binary vs continuous spatial weights (binary=True/False)\n- New parameter: distance metric \u2014 Euclidean (p=2) or Manhattan (p=1)\n- New parameter: Two-tailed p-value checkbox for v1/v3.x backward compatibility\n- Automatic threshold detection using maximum nearest-neighbour distance (KDTree)\n- Automatic threshold range derivation when optimization fields are left empty\n- StylePostProcessor pattern for correct QML application after layer load\n- QML styles: classification by p_value (primary) + sign(Z_score) (direction),\naligned with GeoDa and Anselin (1995); thresholds 0.005 / 0.025 / 0.050\n- QML styles: RdYlBu ColorBrewer palette for Gi*; GeoDa LISA convention for Moran\n- Full scientific documentation in README.md including methodology audit comparing\nv1, GeoDa, ArcGIS, and original literature with full references\n- Removed legacy build tools: Makefile, pb_tool.cfg, plugin_upload.py,\ni18n/, help/, scripts/\n\n3.0.2\n- Special thanks to Prof. Edson Augusto Melanda (UFSCar-Brazil) for testing\nand suggestions\n- Added full dependency guard for libpysal/esda with blocking behavior\n(plugin no longer loads the dialog when required libraries are missing)\n- Detailed cross-platform installation guidance for missing dependencies\n(Windows OSGeo4W Shell, macOS QGIS Python, Linux QGIS Python)\n- Added validation of project layers before opening the dialog: plugin blocks\nexecution when no shapefile (.shp) vector layers are present in the project\n- Introduced user-facing message explaining the shapefile requirement\n- Hardened run() workflow to prevent silent failures and guarantee proper\npreconditions before statistical computation\n- Minor GUI and UX refinements aligned with QGIS interaction patterns\n- Codebase cleanup and normalization of early-return logic\n\n3.0.1\n- Modernization to libpysal/esda (replacement of deprecated PySAL imports)\n- Rewritten Z-score and p-value computation for Getis-Ord Gi* and Local Moran\n- Correct handling of two-tailed p-values and removal of sign artifacts\n- q-value applied only for Local Moran analyses (never for Gi*)\n- New KDTree-based distance threshold computation with O(n2) fallback\n- Stabilized construction of KNN and Queen weights and standardization modes\n- Improved write_file(): safer attribute output, NaN checks, encoding fixes\n- Added stdout/stderr guards to avoid QGIS crashes on Windows systems\n- GUI fixes and attribute filtering to show only numeric fields when required\n- General code cleanup and removal of obsolete legacy paths\n\n2.0.0\n- Port to PySAL 2\n- Data import fix for QGIS 3.16\n\n1.0.4\n- Port to PySAL 2\n\n1.0.3\n- Code cleaning\n\n1.0.2\n- Enhancements to Gi* computation with negative values\n- Icon fixed\n\n1.0.1\n- QGIS 3 plugin version\n- Minor bugs fixed\n\n0.3\n- Enabled K-nearest neighbors spatial weights matrix\n- Minor bugs fixed\n\n0.2\n- Enabled Anselin Local Moran's I and Bivariate Local Moran computation", "external_deps": null, "download_url": "https://plugins.qgis.org/plugins/HotSpotAnalysis_v3/version/4.0.0/download/"}