Share a plugin

Plugins

Plugin tags

3d analysis android animation area attribute attribute edit attribute table attributes basemap bing buffer cad cadastre calculator canvas catalog catastro circle classification click clip cloud composer configuration convert converter copy crs csv danmark dansk data database datasource delimitation dem development digitising digitizing distance download download service drainage draw ecology edit editing elevation ellipse excel export extraction feature field filter flood flow forms geocoding geojson geology geometry geopaparazzi georeference gis gml google gps grid grids histogram home range html hydraulic modelling hydraulics hydrology ibama import inspire intersection join kmz labeling land cover landsat landscape layer layer tree layers leaflet legend line lines load loader map maps marxan mask mesh metadata model mongo mongodb multiple network network analysis ogc open data openlayers openstreetmap ordnance survey orientation os osm pdf point points polygon polyline postgis postgresql print processing productivity profile project projection properties python query raster rectangle remote sensing report river road routing sample search select selection sentinel server service shape shapefile snap spatial spatial join spatialite split sql sqlite statistics stream streetview style survey svg table test tiles time tms toc tool topography topology transformation translate trigger update utm vector vector layer visibility wcs web webmap webmaps webservice webservices wfs wkt wms work flow wps zoom

QGIS Python Plugins Repository

Plugin: NNJoin Plugin icon

(22) votes 

Nearest neighbour join. Join vector layers based on nearest neighbour relationships.

The NNPlugin joins two vector layers (the input and the join layer) based on nearest neighbour relationships. All geometry type combinations are supported. A feature from the input layer is joined to the nearest feature in the join layer. The result of the join is a new vector layer with the same geometry type and coordinate reference system as the input layer. Joining layers with different Coordinate Reference Systems (CRS) is supported, as long as the join layer coordinate system is a projected CRS. The join and distance calculations is performed using the join layer CRS. Self joins are supported. For self joins, each feature in the layer is joined to its nearest neighbour within the layer. A spatial index (QgsSpatialIndex) on the join layer is used to speed up the join for layers with non-multi-geometry types.

Author
Håvard Tveite, NMBU
Maintainer
havatv
Tags
closestneighborneighbourjoinnearestspatial joindistanceanalysisvectorvector layer
Plugin home page
http://arken.nmbu.no/~havatv/gis/qgisplugins/NNJoin
Tracker
Browse and report bugs
Code repository
https://github.com/havatv/qgisnnjoinplugin.git
Latest stable version
1.3.1
Latest experimental version:
3.0.1
Version Experimental Minimum QGIS version Downloads Uploaded by Date
3.0.1 yes 2.99.0 105 havatv Jan. 17, 2017, 9:15 a.m.
3.0 yes 2.99.0 76 havatv Dec. 16, 2016, 2:41 a.m.
1.3.1 no 2.0.0 3635 havatv Jan. 4, 2017, 7:50 a.m.
1.3.0 no 2.0.0 800 havatv Dec. 15, 2016, 6:36 a.m.
1.2.2 no 2.0.0 10984 havatv Feb. 27, 2015, 6:31 a.m.
1.2.1 no 2.0.0 792 havatv Feb. 2, 2015, 3:11 a.m.
1.2.0 no 2.0.0 1767 havatv Oct. 2, 2014, 5:54 a.m.
1.1.0 no 2.0.0 746 havatv Sept. 19, 2014, 7:09 p.m.
1.0.3 no 2.0.0 494 havatv Sept. 15, 2014, 12:03 p.m.

Sponsors