1

I would like to select all the polygons that are within my raster extent.

Is there a tool in QGIS to do it ?

Such as the select by location tool but instead of comparing the features from another vector doing it with the raster.

1

Use the Select Features by Expression tool, with this expression:

within($geometry, layer_property( 'raster name', 'extent'))

Notes:

  • Substitute the name of your raster name where the expression says 'raster name'
  • The two layers must be in the same coordinate reference system

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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