2.28. Spatial Join (Join by location)

Insert into layer 1 attribute from intersects feature in layer 2

Inputs:

  • Vector layer 1

  • Polygon layer 2

  • Name of attibute in layer 2

Outputs:

  • ZIP with Shapefile layer 1 with added attribute

  • QML style file

../../_images/spatial_join.png

Pic. 2.25. Example of source data: cities and regions

../../_images/spatial_join_result.png

Pic. 2.26. Example output: cities with added region name

Download an example of source data and result: https://nextgis.ru/data/toolbox/spatial_join/spatial_join.zip

Launch tool: https://toolbox.nextgis.com/operation/spatial_join