Dario,
To run a spatial query you need to use Select by Location or extract by 
location. This assumes that you have two different layers.
I don’t believe it will do this for a single layer with the above.

Are you trying to use the geometry Generator?
Regards,

Richard




——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
From: Dario <dario9...@gmail.com>
Sent: 10 June 2021 12:41
To: Richard McDonnell <richard.mcdonn...@opw.ie>
Cc: QGIS User List <qgis-user@lists.osgeo.org>
Subject: Re: [Qgis-user] How to filter shape or oracle layer

Hi Richard,

The issue is that I tried to write down:


intersects( $geometry, geometry( get_feature( layer, attributeField, value ) ))

But nothing happens :(
_

Il giorno 10 giu 2021, alle ore 12:21, Richard McDonnell 
<richard.mcdonn...@opw.ie<mailto:richard.mcdonn...@opw.ie>> ha scritto:

Hi Dario,
If you right click on any Vector Layer and select Filter you can filter as you 
wish.
Regards,

Richard


——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/

From: Qgis-user 
<qgis-user-boun...@lists.osgeo.org<mailto:qgis-user-boun...@lists.osgeo.org>> 
On Behalf Of Dario C
Sent: 09 June 2021 12:33
To: QGIS User List <qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>>
Subject: [Qgis-user] How to filter shape or oracle layer

Hi, is there any way to filter a layer (both shape and oracle) using a spatial 
query?
(I would like to load/view only what it is inside a range of value of a proper 
"field")

Thanks
Please note that the existing 01-6476XXX / 046-9426XXX numbering ranges will no 
longer be available after 30th April 2021.
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to