I have 2 different layers: one is properties
and the other one is park buffer
. I would like to add a field in the properties
attribute table that says YES if "properties" and "buffer" intersects, and if they dont that it says NO; with possibility to later add if it intersects with 2 different layers.
I have tried with:
if 'properties' overlay_contains 'buffer' then 'yes' else 'no'
- but this gave me an invalid expression
i have also tried with:
if 'array_to_string(overlay_within('properties', buffer))' then 'yes' else 'no'
- but still not working. I'm not super good with programming and I'm quite new to QGIS but eager to learn. Does anyone know if this is possible? if yes... how can i fix it?
if()
expression?