[QGIS-trac] Re: [Quantum GIS] #2658: QgsVectorLayer.select( QgsVectorLayer.extent(), true) does not return all features

Quantum GIS qgis at qgis.org
Wed May 5 09:51:21 EDT 2010


#2658: QgsVectorLayer.select( QgsVectorLayer.extent(), true) does not return all
features
-----------------------------------------------------+----------------------
        Reporter:  ersts                             |         Owner:  nobody       
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0
       Component:  Vectors                           |       Version:  HEAD         
      Resolution:  wontfix                           |      Keywords:               
Platform_version:  Ubuntu 10.04                      |      Platform:  Linux        
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by ersts):

 Howdy Martin,
 I also think it has to do with comparing floats/doubles.

 The example I gave happens to be from the same layer. It could just as
 easily been the extent from layer A being used to select features from
 layer B. Even if there are other ways to select everything from a layer,
 it seems that using the layer's extent should always give you all the
 features.

 I am not sure this should just be ignored.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2658#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list