[QGIS-trac] Re: [Quantum GIS] #1669: ftools: error in select by location

Quantum GIS qgis at qgis.org
Fri Feb 18 12:35:33 EST 2011


#1669: ftools: error in select by location
-----------------------------------------------------+----------------------
        Reporter:  bjpfei                            |         Owner:  cfarmer           
            Type:  bug                               |        Status:  reopened          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0     
       Component:  Python plugins and bindings       |       Version:  Trunk             
      Resolution:                                    |      Keywords:  select by location
Platform_version:  Windows 7                         |      Platform:  All               
        Must_fix:  Yes                               |   Status_info:  0                 
-----------------------------------------------------+----------------------
Changes (by bderstine):

  * keywords:  => select by location
  * platform_version:  => Windows 7
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I seem to be getting a similar error when running on two very large
 polygon vector shapefiles (select features in a layer with 820,154 small
 footprint records, that intersect features in a layer with 7,766 large
 footprint records).
 using fTools 0.5.10, qGIS 1.6.0:

 An error has occured while executing Python code:

 Traceback (most recent call last):
   File
 "C:\QUANTU~1\apps\qgis\python\plugins\fTools\tools\doSelectByLocation.py",
 line 53, in accept
     self.compute(inPoly, inPts, self.cmbModify.currentText())
   File
 "C:\QUANTU~1\apps\qgis\python\plugins\fTools\tools\doSelectByLocation.py",
 line 78, in compute
     print len(intersects)
 IOError: [Errno 9] Bad file descriptor

 Python version:
 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1669#comment:7>
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