Home › Vector tools › Nearest with greater value
Nearest with greater value QGIS 4 compatibility
QGIS 4 ready Active
Yes — Nearest with greater value supports QGIS 4 (declared max version 4.99.0).
Get name (or ID) of and distance to the nearest feature with greater value in a certain field of a point layer. Returns point layer with added attributes and a line layer with connecting lines.
About
For each feature on a vector layer, get name (or ID) of and distance to the nearest neighbour with greater value in a certain field. On line or polygon layers, distance is calculated between the center points of the bounding boxes. Since version 2.0, distance is calculated on the WGS84 ellipsoid (not on the layer plane) by default. The main output is a layer with added attributes neargtdist (distance), neargtdelta (difference in value), neargtname (name or ID), neargtcount. Note that the features are sorted from lowest to greatest value of the field that was used to compare values. The field neargtcount gives the value of incoming connecting lines linking to points with smaller value. Also returns a lines layer with connecting lines, as well as basic statistics of the distances and deltas (min, max, mean, quantiles). Use cases: Which is the next larger city? How far is the next higher building? Which is the closest peak with higher elevation? Useful for spatial analysis or to categorize features in order to apply different styles (e.g. major and minor summits).
| Author | Florian Neukirchen |
|---|---|
| Downloads | 6,307 |
| Latest version | 2.3 |
| Last updated | 2026-06-16 (121 days ago) |
| Min QGIS | 3.18.0 |
| Max QGIS | 4.99.0 |
| QGIS 4 ready | Yes |
| Maintenance | Active |
| Category | Vector tools |
| Tags | vector, nearest, closest, point, distance, python |
Homepage · Repository · Issue tracker · Official page
Alternatives in Vector tools
- HCMGISQGIS 4 ready
HCMGIS - Basemaps, Download OpenData, Batch Converter, VN-2000 Projections, and Field Calculation Utilities
- mmqgisQGIS 4 ready
A collection of QGIS vector layer operation plugins
- Shape ToolsQGIS 4 ready
Shape Tools is a collection of geodesic shapes and tools. Create circle, ellipse, line of bearing, points along a line of bearing, concentri
Related plugins
- NNJoinNot QGIS 4 ready
Nearest neighbour join. Join vector layers based on nearest neighbour relationships.
- Closest PointsNot QGIS 4 ready
get the closest points for one layer to another
- Nearest Point FinderNot QGIS 4 ready
Finds the nearest point(s) across multiple layers to a given set of coordinates using geodesic distance
- Ireland Nearest Analysis (EPA API + EPSG:29903)QGIS 4 ready
Nearest feature analysis for Irish datasets (EPSG:29903) with EPA API integration. Includes distance and bearing calculation with CSV export
- Locate points along linesNot QGIS 4 ready
Creating points along lines
- Point Shift TrackerQGIS 4 ready
Track how far a point feature has been moved during editing, with live distance analysis and an in-panel warning when a shift exceeds your c
Maintenance: Active = updated within 1 year, Quiet = 1–3 years, Likely abandoned = over 3 years.