[general]
name=Punto a Polígono
qgisMinimumVersion=3.28
qgisMaximumVersion=4.99
description=Draws the polygon of a crop field from a single point inside it, using the Sentinel-2 NDVI time series in Google Earth Engine. Interface in Spanish.
about=Given one point inside each field, the plugin builds the NDVI history of that point (monthly Sentinel-2 composites with Cloud Score+ masking, computed in Google Earth Engine) and keeps the connected pixels that share the same history. It then computes the area, optionally compares it with a declared area (OK / REVISAR), and adds rainfall (CHIRPS v3) and temperature (Landsat 8/9 surface temperature at 30 m, ERA5-Land) for the season. Optionally, it refines the field boundary at 2.5 m with a Sentinel-2 image super-resolved by SEN2SR (ESA OpenSR, Aybar et al. 2026), with a radiometric (NDVI) consistency check. Requires an external Python with the earthengine-api package and access to a Google Cloud project with Earth Engine enabled (see the manual); the optional refinement also needs torch (CPU), sen2sr and mlstac. Interface and manual in Spanish. Developed and tested in Uruguay.
version=1.1.0
author=Carolina Menchaca
email=cmenchaca1986@gmail.com
category=Analysis
tags=agriculture,sentinel-2,earth engine,ndvi,segmentation,field boundaries,crop,landsat,chirps,era5,super-resolution,sen2sr
homepage=https://github.com/gingerheart86/point-to-polygon
repository=https://github.com/gingerheart86/point-to-polygon
tracker=https://github.com/gingerheart86/point-to-polygon/issues
experimental=True
deprecated=False
hasProcessingProvider=yes
changelog=
    1.1.0 Optional boundary refinement at 2.5 m with SEN2SR (ESA OpenSR, CC0): picks the clear Sentinel-2 image with the best field/surroundings NDVI contrast, super-resolves it on the CPU and moves the 10 m boundary within a ±20 m band. NDVI consistency check (sr_control), new fields (area_ha_10m, afinado, sr_*) and 2.5 m images per field. Setup checks the SEN2SR install. Manual: install steps, method, data and software citations.
    1.0.5 Manual: beginner step-by-step to install Python and earthengine-api, get the Earth Engine project ID and authenticate. More troubleshooting tips.
    1.0.4 Minimum QGIS version back to 3.28 (tested on 3.28 and 3.44).
    1.0.3 Author contact email updated. Code style fixes in the Earth Engine scripts (flake8 E731).
    1.0.2 QGIS 4 / Qt6 compatibility: scoped enum names. Minimum QGIS version is now 3.40.
    1.0.1 Security scan: documented the intentional subprocess calls to the Earth Engine Python (.bandit, nosec). No functional changes.
    1.0.0 First public release: point-to-polygon model with Sentinel-2 in Google Earth Engine, declared-area check, rainfall and temperature, rasters of the search area and per-PC setup.
