I am trying to use select by expression to query lines that contain certain attributes and that there geomerty touch. In other words are connected or neighbor each other.
I tried a query such as this. My attribution might not make sense but i just need the syntax correct.
"isDiscouraged" = 't' AND touches("roadclass" = 'ramp')
or
"Links that have this attribute" AND Touch "links that have this attribute"
So i want to find links that contain the attribute isdiscouraged = t that are connected to links with this other attribute roadclass = ramp. Is this possible. My above query is invalid but lays out what im looking for. Any ideas how to tweek it to make it work.
I know its kind of a more spatial query combined with attribute query but cant get it to work!
Thanks
أكثر...
I tried a query such as this. My attribution might not make sense but i just need the syntax correct.
"isDiscouraged" = 't' AND touches("roadclass" = 'ramp')
or
"Links that have this attribute" AND Touch "links that have this attribute"
So i want to find links that contain the attribute isdiscouraged = t that are connected to links with this other attribute roadclass = ramp. Is this possible. My above query is invalid but lays out what im looking for. Any ideas how to tweek it to make it work.
I know its kind of a more spatial query combined with attribute query but cant get it to work!
Thanks
أكثر...