GIS Plugins

Home › QGIS 4 readiness › Built into QGIS › NNJoin

NNJoin Built into QGIS 3.8 as Join attributes by nearest

QGIS 3.8 and later do the main job of NNJoin natively, with Join attributes by nearest. You can use that instead of installing the plugin. The Processing algorithm joins each feature to its nearest (or k nearest) features in another layer, with an optional maximum distance.

Native featureJoin attributes by nearest
First releaseQGIS 3.8
Where to find itProcessing Toolbox › Vector general › Join attributes by nearest
PluginNNJoin, last released 2019-09-11
Plugin on QGIS 4Not QGIS 4 ready

How to use Join attributes by nearest

  1. Open the Processing Toolbox and find Join attributes by nearest under Vector general.
  2. Set Input layer to the layer that receives the attributes and Input layer 2 to the layer they come from.
  3. Optionally pick the fields to copy, Maximum nearest neighbors (k) and a Maximum distance.
  4. Run it. Check Discard records which could not be joined to leave out features without a match.

Sources: QGIS 3.8 changelog entry QGIS User Manual

A native feature can differ from the plugin in details. If you rely on a specific option, read the linked entry before you uninstall.

QGIS plugin news, once a week

GIS Plugins Weekly: new plugins, useful updates and QGIS 4 readiness changes. Free, unsubscribe anytime. See a sample issue.

All plugins built into QGIS Plugin page for NNJoin