[general]
name=AgriPrecisa
qgisMinimumVersion=3.22
qgisMaximumVersion=4.99
supportsQt6=True
description=Precision agriculture tools: IDW interpolation to a pixel-sized vector grid with zonal statistics and graduated maps.
about=AgriPrecisa gathers precision agriculture tools for QGIS, developed at Fatec Pompeia "Shunji Nishimura" (Brazil). This first release provides "IDW vector grid": soil or plant sample points are interpolated by IDW (power, search radius and pixel size set by the user) over the bounding box of the field boundary, accepting samples slightly outside the boundary through a tolerance. A vector grid (cell size chosen by the user, or an existing grid) receives, by zonal statistics on whole cells, the mean of every interpolated field and is then clipped by the boundary, ready for management zones and variable rate maps. Results are styled as graduated maps (5 classes, Jenks natural breaks, RdYlGn). Available as a step-by-step wizard (Vector > AgriPrecisa) and as a Processing algorithm for batch runs and the Graphical Modeler. Interface in Portuguese, English and Spanish. Unlike general interpolation tools, it delivers the result directly as a pixel-sized vector grid clipped to the field, with one styled layer per attribute.
version=1.8.3
author=Gustavo Di Chiacchio Faulin
email=gustavo.faulin@cps.sp.gov.br
changelog=
    1.8.3 Fix: the Qt6 compatibility check of plugins.qgis.org flagged 10 enum names written in the short form in core/compat.py; they now use the scoped form (Class.EnumType.Member), valid on QGIS 3 and 4. A regression test checks this.
    1.8.2 Fix: the security scan of plugins.qgis.org blocked version 1.8.1 because of two empty error handlers (try/except with pass or continue); they now set a value explicitly. A regression test forbids this pattern.
    1.8.1 Fix: the plugin package was rejected by plugins.qgis.org because a percent sign in this changelog could not be read; a regression test now checks every metadata field.
    1.8.0 Single result file: [boundary]_Grade Padrão_[cell]x[cell].shp now holds the clipped cells with the means (the separate _IDW_ file with date and time is no longer created); new runs add their columns and keep the previous ones. The generated grid keeps only an ID numbered 1, 2, 3... (automatic columns removed) before the zonal statistics. Processing: single output in the output folder.
    1.7.0 Steps 1 and 2 split in two: a fixed panel on the right explains every option (like the Processing dialogs); the Help button now explains the concept behind each step. Step 3: the neighbours box with the influence bars was removed (the maximum of neighbours stays in the summary table; the explanation moved to the Advanced box).
    1.6.0 Minimum (4) and maximum (default 16) of neighbours per pixel, as in GIS interpolators: the minimum is always met, even beyond the radius; the maximum limits the radius. Auto-fit now chooses P and the maximum of neighbours by cross-validation and sets the radius so it does not cut the maximum. Step 3: weight curve removed, map preview fills the right column, search radius moved to a collapsed Advanced box. Processing: new minimum and maximum of neighbours parameters.
    1.5.2 Fix: pixels the search radius did not reach (e.g. a wider gap between sensor passes) were left empty and grid cells came out blank; they now use the 4 nearest samples. Warning in step 3 and in the final message with the percentage of the field affected.
    1.5.1 Help updated for the vector grid and the pixel size; Processing help shows the standard grid file name correctly.
    1.5.0 Vector grid: cell size chosen by the user (independent of the pixel) or an existing grid; standard grid saved as "<boundary>_Grade Padrão_<cell>x<cell>.shp" and reusable; outputs in Shapefile with columns named after the attributes; rasters cover the boundary plus 100 m and are never clipped; zonal mean computed on whole cells and the grid clipped only afterwards (no border cells without value).
    1.4.0 Step 3: single teaching layout (standard layout removed) with wider sliders (P 0.5 to 5.0, radius 1x to 6x); weight chart corrected after Shepard (1968): 1/d^P relative to the typical pixel-to-sample distance, cut axis, distance ticks; new bars with the share of each neighbour in a typical pixel; cross-validation covers P 0.5 to 5.0.
    1.3.2 Step 1: output folder defaults to the last folder used or, the first time, to an AgriPrecisa subfolder inside the project folder (created automatically).
    1.3.1 Renamed: "Auto-fit" / "Auto-fit all" buttons; "Teaching layout" (student, visual) and "Standard layout" (free values); origin "auto-fit" in the parameter table.
    1.3.0 IDW parameters per attribute: each attribute keeps its own P and radius (attribute selector, summary table with origin, "Suggest for this one" and "Suggest for all"); suggested radii never leave gaps in the map; Processing option to choose P and radius of each attribute by cross-validation.
    1.2.0 Step 3: "Show samples" toggle in the preview; radius based on the coverage distance (works for grids and sensor passes); "Suggest P and radius" by cross-validation with spatially spread, outlier-free, value-stratified validation samples and an exclusion zone, with an RMSE table by P and radius.
    1.1.0 Student mode in wizard step 3: sliders for power P (1 to 3) and search radius (multiples of the mean sample spacing) with explanations, weight x distance curve and live map preview; advanced mode keeps free numeric fields; chosen mode is remembered.
    1.0.3 Wizard step 2: sample counts and density shown left-aligned and only on layer rows.
    1.0.2 Wizard step 2 shows the field area (ha) and, for each layer and attribute, the samples inside the field and the sampling density (samples/ha).
    1.0.1 Wizard shows "[EPSG:xxxx]" after each layer name and a warning icon with tooltip for layers not in a projected CRS in metres.
    1.0.0 First public release: IDW vector grid tool (wizard and Processing algorithm), Portuguese, English and Spanish interface.
tags=precision agriculture,agriculture,interpolation,idw,zonal statistics,soil,management zones,variable rate,farming
homepage=https://github.com/gdfaulin/AgriPrecisa
repository=https://github.com/gdfaulin/AgriPrecisa
tracker=https://github.com/gdfaulin/AgriPrecisa/issues
category=Vector
icon=icon.png
experimental=False
deprecated=False
hasProcessingProvider=yes
server=False
