Feature request #1949

Ability to select features by polygon

Added by Jeremy Palmer over 14 years ago. Updated over 13 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Vectors
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12009

Description

The ability to select vector features that are "fully" contained within a user defined polygon.

History

#1 Updated by Giovanni Manghi over 14 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

the "select by polygon" feature already exist.

#2 Updated by Jeremy Palmer over 14 years ago

  • Resolution deleted (invalid)
  • Status changed from Closed to Feedback

I tried the select plus plugin, but it does not have the function to select features that lie fully within a polygon. Currently the plugin's selectRubberBand function selects features based on an intersection which is not what I want.

I've also noticed that the QGISGeometry class does not expose a contains method for other geometries, which would be required. I guess this could easily be added though.

#3 Updated by Giovanni Manghi over 14 years ago

Hi,

did you tested the "select by location" tool in the "tools -> research tools" menu?

#4 Updated by Jeremy Palmer over 14 years ago

Thanks for the help, I didn't see that option. However that option also uses intersects to select the features. Plus you have to create a polygon in another layer first. Not very user friendly.

If we could get the contains method added to the QGISGeometry, we could easily update the select plus functionality. Just looking at the code it would be very simple.

It would be really nice to get the select plus functions added to core and exposed within the view menu and toolbar.

#5 Updated by Jeremy Palmer over 13 years ago

  • Resolution set to fixed
  • Status changed from Feedback to Closed

fixed in #2938

Also available in: Atom PDF