QGIS Python Plugins Repository

Nearest with greater value

(0) votes 

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.

Get name (or ID) of and distance to the nearest neighbour with greater value in a certain field. Input is a points layer.
The main output is a points layer with added attributes neargtdist (distance), neargtdelta (difference in value), neargtname (name or ID), neargtcount.
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
Maintainer
riannek
Tags
vectorclosestpythonpointdistancenearest
Plugin home page
https://www.riannek.de/code/qgis-nearest-with-greater/
Tracker
Browse and report bugs
Code repository
https://github.com/florianneukirchen/qgis_nearest_greater
Latest stable version
1.0
Latest experimental version:
0.3
Version Experimental Minimum QGIS version Downloads Uploaded by Date
1.0 no 3.0.0 164 riannek 2022-10-19T06:10:03.578884+00:00
0.3 yes 3.0.0 67 riannek 2022-09-12T12:33:29.424040+00:00
0.1 yes 3.0.0 27 riannek 2022-09-09T14:36:04.874333+00:00

Sustaining Members