Spatial Join
spatial_joinJoin attributes from a join layer to a target layer using spatial predicates like intersects, contains, or touches. Supports one-to-many, first match, or largest overlap methods.
Instructions
Join attributes by location (native:joinattributesbylocation). predicates int list: 0=intersects 1=contains 2=equals 3=touches 4=overlaps 5=within 6=crosses (default [0]). method: 0=one-to-many 1=first match (default) 2=largest overlap. join_fields = copied columns (default all). No output_path = in-memory layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| prefix | No | ||
| join_layer | Yes | ||
| predicates | No | ||
| join_fields | No | ||
| output_path | No | ||
| target_layer | Yes |