[general]
name=Geomaticape Tools
description=Landsat C2 L1/L2, Sentinel-2, CBERS-04A, MODIS 09/11/12/13 scale factor per product independently, PCA, Tasseled Cap, 17 spectral indices, supervised + unsupervised classification (DT/RF/NB/MLP/KNN + KMeans/GMM/ISODATA/Birch), band extraction, vector geoprocessing, zonal statistics, multi-point sampling, DEM tools, Google Earth Engine integration (images + indices + spectral signatures)
version=1.9
qgisMinimumVersion=3.40
qgisMaximumVersion=4.99
author=Geomatica Ambiental
email=nino@geomatica.pe
authorUrl=https://www.geomatica.pe/

about=GeomaticaPE is a QGIS plugin developed by Geomatica Ambiental to automate
    preprocessing and analysis of multispectral satellite imagery and to
    support common geoprocessing tasks.

    Tools organized into eight groups:

    [Conversion]
    - RS Landsat C2 L1 (SR + LST + PAN, autodetects MSS/TM/ETM/OLI)
    - Landsat C2 L2 scale factor
    - Sentinel-2 L1A scale factor
    - Sentinel-2 L2A scale factor
    - MODIS 09 (Surface Reflectance)
    - MODIS 11 (LST °C)
    - MODIS 12 (Land Cover)
    - MODIS 13 (NDVI / EVI)

    [Processing]
    - CBERS-04A Pansharpening Brovey 2m
    - Landsat Pansharpening 30m -> 15m (Weighted Brovey)
    - Multispectral PCA
    - Tasseled Cap (Brightness / Greenness / Wetness) — Landsat 5/7/8/9, Sentinel-2
    - Spectral indices (17 indices): NDVI, SAVI, MSAVI, EVI, EVI2, GNDVI, GCI,
      NDREI, NDWI, MNDWI, NDMI, NBR, NBR2, NDSI, BSI, VARI, NGRDI
    - Spectral Signature (local): Landsat 5/7/8/9, Sentinel-2, ASTER L1T
    - Extract bands from multispectral images (auto band count)
    - Combine bands with names (Red, NIR, SWIR1...)
    - Clip raster by study area (cutline / bbox, batch, stack output modes)
    - Image mosaic
    - Define NoData cells
    - Unsupervised classification (KMeans, MiniBatchKMeans, GMM, ISODATA, Birch)
    - Supervised classification and validation (DT / RF / NB / MLP / KNN)

    [PostProcessing]
    - Classify raster by ranges (min / max / single value)
    - Reclassify raster (value remapping)
    - Classification report (area, percentage, statistics) — raster
    - Classification report — vector

    [Geoprocessing]
    - Create polygons from table (CSV/TXT/XLS/XLSX)
    - Raster zonal statistics (Excel/CSV)
    - Extract point values from multiple rasters

    [Vector]
    - Calculate polygon orientation angle
    - Overlapping polygon detection
    - Cross-section transects

    [MDE]
    - Download DEM (SRTM GL1, Copernicus GLO-30, NASADEM, ALOS AW3D30, SRTM 90m)
    - Generate point elevations from DEM
    - Extract intermediate contour lines

    [GEE — Google Earth Engine]
    - Download images: Landsat 4/5/7/8/9 C2L2, Sentinel-2 C2L2/C2L1
    - Download spectral indices (17 indices, same catalog as local tool)
    - Professional spectral signature via GEE (points or polygons, class grouping,
      PNG chart + Excel export)

    COMPATIBILITY:
    - Qt5 (PyQt5) and Qt6 (PyQt6) via qgis.PyQt compatibility layer
    - QGIS 3.40 to 4.99
    - Windows, Linux, macOS

    REQUIREMENTS - Python modules bundled with QGIS (no installation needed):
    - numpy           (all tools)
    - GDAL / osgeo    (all tools)
    - matplotlib      (QGIS LTR 3.22+; spectral_signature, pca_satellite)

    REQUIREMENTS - External modules NOT bundled with QGIS (must install):
    - scikit-learn    REQUIRED by: Unsupervised Classification (KMeans,
                      MiniBatchKMeans, GaussianMixture, Birch, StandardScaler),
                      Supervised Classification (DecisionTree, RandomForest,
                      NaiveBayes, MLP, KNN, train_test_split, classification_report),
                      Multispectral PCA (PCA, StandardScaler, make_pipeline)
    - pandas          REQUIRED by: Multispectral PCA (variance table),
                      Create Polygons from Table (read CSV/TXT/XLS/XLSX),
                      GEE Spectral Signature (Excel export)
    - openpyxl        REQUIRED by: Raster Zonal Statistics (export .xlsx),
                      Extract Point Values (export .xlsx),
                      Classification Report (export .xlsx with charts),
                      Create Polygons from Table (read .xlsx),
                      GEE Spectral Signature (export .xlsx)
    - earthengine-api REQUIRED by: all GEE tools (Descarga GEE menu)

    Install all external dependencies (run once):
       python -m pip install --upgrade scikit-learn pandas openpyxl earthengine-api

    Developed and maintained by:
    Geomatica Ambiental - www.geomatica.pe

    Acknowledgments:
    - Point Sampling Tool by Borys Jurgiel (GPL v2+) - inspiration for the
      multi-raster point sampling tool. https://github.com/borysiasty/pointsamplingtool
    - Cross Sections ported from LFTools Vect_CrossSections (Leandro França, GPL v2+)

icon=Icons/logo_geomatica.png

tracker=https://www.geomatica.pe/
repository=https://www.geomatica.pe/
homepage=https://www.geomatica.pe/
category=Raster
tags=landsat, c2 l1, c2 l2, mss, tm, etm, oli, tirs, dos1, surface reflectance, lst, pansharpening, weighted brovey, brovey, vrt pansharpened, clip raster, cutline, bbox, study area, clipping, sentinel, cbers, modis, modis09, modis11, modis12, modis13, pca, tasseled cap, brightness, greenness, wetness, ndvi, ndwi, evi, savi, msavi, gndvi, ndmi, nbr, ndsi, bsi, vari, kmeans, isodata, gmm, birch, supervised classification, decision tree, random forest, extra trees, naive bayes, mlp, knn, kappa, confusion matrix, balanced accuracy, f1, cross validation, band extraction, band stacking, band combination, multiband, spectral indices, spectral signature, remote sensing, raster, zonal statistics, vector, polygon, csv, xlsx, point sampling, dem, srtm, copernicus, nasadem, alos, contour, google earth engine, gee, earth engine
hasProcessingProvider=yes
server=False
experimental=False
deprecated=False

changelog=1.9
    - [Conversion] MODIS tools: earthengine-api listed as explicit dependency in metadata
    - [Processing] Tasseled Cap: documented sensor support (Landsat 5/7/8/9, Sentinel-2)
      with published coefficients (Crist 1985, Huang 2002, Baig 2014, Shi & Xu 2019)
    - [Processing] Recortar Rasters: three output modes documented
      (one file per input / one file per band / combined multiband stack)
    - [Processing] Spectral indices: catalog expanded to 17 indices with full Red Edge support
    - [GEE] Descargar Imagenes: Landsat 4/5/7/8/9 C2L2 + Sentinel-2 C2L1/C2L2 harmonized
    - [GEE] Descargar Indices: shares same 17-index catalog as local indices tool
    - [GEE] Firma Espectral GEE: polygon and point sampling, class grouping,
      min/mean/max per class, PNG chart, Excel export
    - [Vector] Secciones transversales: ported from LFTools, credit added to metadata
    - [MDE] Sources: SRTM GL1, Copernicus GLO-30, NASADEM, ALOS AW3D30, SRTM 90m
    - [General] earthengine-api added to dependency list and auto-installer
    - [General] Tags expanded to cover all new tools and sensors
    - [General] metadata.txt tool inventory aligned with plugin.py menu structure
      (8 groups: Conversion, Processing, PostProcessing, Geoprocessing,
      Vector, MDE, GEE)
    1.8
    - [Processing] Spectral Signature: Landsat 5/7/8/9, Sentinel-2, ASTER L1T
      Extraction by class, mean/min/max, PNG chart, Excel export
