Opened 15 years ago

Closed 14 years ago

#1949 closed enhancement (fixed)

Ability to select features by polygon

Reported by: jpalmer Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.6.0
Component: Vectors Version: Trunk
Keywords: select polygon feature Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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

Change History (6)

comment:1 by lutra, 15 years ago

Resolution: invalid
Status: newclosed

the "select by polygon" feature already exist.

comment:2 by jpalmer, 15 years ago

Resolution: invalid
Status: closedreopened

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.

comment:3 by lutra, 15 years ago

Hi,

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

comment:4 by jpalmer, 15 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.

comment:5 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

comment:6 by jpalmer, 14 years ago

Resolution: fixed
Status: reopenedclosed

fixed in #2938

Note: See TracTickets for help on using tickets.