[general]
name=Polygon validator EUDR 2
qgisMinimumVersion=3.28
qgisMaximumVersion=3.99
description=EUDR-oriented polygon quality-control suite: geometry repair and overlap cleaning, interior centroids with Longitude/Latitude, self-intersection repair with hole filling and Field_ID deduplication, and cross-layer overlap marking. Redesigned modern interface.
about=Polygon validator EUDR 2 is a quality-control suite for land, cadastral, agricultural and forestry data under EUDR workflows. Four tools, a redesigned interface and a Processing algorithm. (1) Validator: repairs geometries (makeValid, duplicate-node removal, buffer 0, QGIS-internal validation), removes overlaps above a business threshold (18 percent by default) keeping the most reliable polygon, removes exact duplicates, full containments, tiny areas and slivers to a deleted layer, and annotates partial overlaps. (2) Centroids: generates a points layer whose points are guaranteed inside each polygon (point on surface), with computed Longitude and Latitude (WGS84). (3) Self-intersection: repairs self-intersections, multipart to singlepart, computes Surface_Ha, removes tiny areas, fills interior holes created by repair, and deduplicates Field_ID codes. (4) EUDR platform: detects overlaps between two layers and marks/selects the overlapping features in both attribute tables above a threshold, without creating any output file. Deforestation detection and its compliance dashboard are now provided by the separate standalone plugin "Deforestation check".
version=4.1.0
author=Jean David Konan
email=jeandavidkyao@gmail.com
tracker=https://github.com/jeandavid23/Polygon-validator-eudr-jdk/issues
repository=https://github.com/jeandavid23/Polygon-validator-eudr-jdk
homepage=https://github.com/jeandavid23/Polygon-validator-eudr-jdk
category=Vector
icon=icons/icon.svg
experimental=False
deprecated=False
tags=polygon,overlap,topology,cleaning,duplicates,quality,cadastre,EUDR,forestry,agriculture,geometry
hasProcessingProvider=yes
changelog=4.1.0 - Detached the Deforestation detection tool and the Compliance dashboard into a separate standalone plugin named "Deforestation check". This plugin now focuses on polygon quality control and cross-layer overlap: Validator, Centroids, Self-intersection and EUDR platform. Removed the deforestation engine, dialog, dashboard and Hansen downloader modules and their icons.
    4.0.1 - Security and code quality. Removed every silent try/except/pass and try/except/continue (Bandit B110/B112): non-blocking exceptions are now recorded in the QGIS message log through a dedicated plugin_log module, so failures stay traceable instead of being hidden. Replaced urllib with the native QGIS network stack (QgsBlockingNetworkRequest, Bandit B310) for the Hansen tile download: it honours the proxy, SSL and authentication settings of QGIS, is safe to use from a background task, and only HTTPS requests to the official public data host are allowed. Bandit now reports zero issues.
    4.0.0 - Major release, renamed to Polygon validator EUDR 2 (author Jean David Konan). New internal Deforestation detection tool (Hansen Global Forest Change raster with lossyear band, or vector reference; EUDR post-2020 cutoff; Compliant/At risk/Non-compliant classification with colour-coded output). New EUDR Compliance dashboard (indicators, compliance gauge, distribution chart, problem-plot ranking, CSV export). New EUDR platform tool: detects overlaps between two layers and marks/selects the overlapping features in both attribute tables above a threshold, with no output file. Deforestation criteria follow EUDR (loss after 2020) and Rainforest Alliance (loss after 2013) standards with a selectable norm and FAO 10 percent canopy definition. Automatic download of the Hansen GFC tiles covering the plots extent (cached, VRT-merged). Diagnostic logging in the deforestation engine. Full interface redesign: shared design system, brand header, light/dark theme, refreshed icon set, tooltips.
    3.2.1 - Public repository URLs set for QGIS plugin repository submission.
    3.2.0 - Fenetre Self-intersection: suppression des doublons de code Field_ID (conserve la plus grande Surface_Ha) avec couche de sortie doublons_de_code. Logos distincts par fenetre. Renommage en Polygon validator EUDR by JDK; auteur Jean David Konan (JDK).
    3.1.0 - Interface redimensionnable; deux fenetres separees ajoutees: Centroides (points garantis a l'interieur via pointOnSurface, champs Longitude/Latitude WGS84) et Self-intersection (logique du plugin SI + comblement des trous interieurs crees par makeValid).
    3.0.4 - Finalized author, contact email and public repository URLs for QGIS plugin repository submission.
    3.0.4 - Finalized author, email and public repository links for QGIS plugin repository submission.
    3.0.3 - Removed all percent characters from metadata fields to satisfy the QGIS metadata parser.
    3.0.2 - Fixed metadata parsing error: escaped percent sign in about field (QGIS metadata parser treats the percent sign specially).
    3.0.1 - Renamed to "Polygon Verifier by JDK"; metadata cleaned for QGIS plugin repository submission (English description/about, removed build artifacts).
    3.0.0 - Clean output: real geometry correction (makeValid + remove duplicate nodes + extract polygon parts + buffer 0, QGIS-internal validation); removal of every overlap strictly above the threshold (loser = least reliable: most valid, then largest, then oldest ID), full containments, duplicates, tiny areas and slivers (traced to a deleted layer); keep + annotate only partial overlaps below the threshold.
    2.0.0 - Detection/annotation of overlaps (overlap, ovlp_pct, is_ovlp) instead of deletion; limited removals (tiny areas, exact duplicates, full containments, slivers) with a dedicated deleted layer; reinforced repair makeValid + buffer 0; QGIS-internal validation engine; configurable identifier field.
    1.0.0 - Initial version.
