1

I am running QIGS 3.18. I am trying to select features from a polygon layer that run along a given roadway (which is blue in the photo below). How can I go about running a selection of all the features in my parcel layer (which is red) that, in this case, have road frontage along the blue road? Note that the red parcel layer and blue road layer don't actually intersect or touch in the map (so "Select by Location" won't work). And the "Nearest Neighbor" analysis seems to only work for point features as an input.

In my example, only the red parcels with a blue dot (as seen below) should be selected. What's the best way to do this?

enter image description here

1 Answer 1

1

Create a buffer around your line (street) with a distance that it touches the houses bordering the street, but not more. Than overlap the polygons with this buffer.

When doing that with select by expression, you can select the relevant polygons (adapt the value of 3500 at the bottom to you needs):

overlaps (
    $geometry, 
    buffer (
        geometry(
            get_feature_by_id (
                'line',
                1
            )
        ), 
        3500
))

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.