Ticket #2658 (closed bug: wontfix)
QgsVectorLayer.select( QgsVectorLayer.extent(), true) does not return all features
| Reported by: | ersts | Owned by: | nobody |
|---|---|---|---|
| Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
| Component: | Vectors | Version: | Trunk |
| Keywords: | Cc: | ||
| Platform Version: | Ubuntu 10.04 | Platform: | Linux |
| Must Fix for Release: | Yes | Awaiting user input: | no |
Description
select() does is not returning all features, when using the layer's extent as the input rectangle.
This can be reproduced by grabbing the data provided with ticket #2621. Load the shadefile ( 12 points ) and enter the following in to the python console
lvActiveLayer = qgis.utils.iface.activeLayer() lvExtent = lvActiveLayer.extent() lvActiveLayer.select(lvExtent, True)
The western, northern, and southern most points are not selected. I get the same result using the c++ api
However, I have check another point layer ( also a shapefile ) and get similar but inconsistent results. From the python console the southern most point is not selected, but through the c++ api all points are selected.
I am running on stock Ubuntu 10.04, trunk r13316