Spatial Join
spatial_joinJoin attributes from one layer to another based on spatial relationships such as intersection or containment.
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 |