[QGIS-trac] Re: [Quantum GIS] #1669: ftools: error in select by
location
Quantum GIS
qgis at qgis.org
Fri Jul 10 02:39:31 EDT 2009
#1669: ftools: error in select by location
-----------------------------------------------------+----------------------
Reporter: bjpfei | Owner: cfarmer
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: Plugins | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: RedHat
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by hdus):
The error occurs when you use PostGIS Layer for the analysis. The
following error is reported:
{{{
Traceback (most recent call last):
File "/usr/local/qgis-
trunk/share/qgis/python/plugins/fTools/tools/doSelectByLocation.py", line
52, in accept
self.compute(inPoly, inPts, self.cmbModify.currentText())
File "/usr/local/qgis-
trunk/share/qgis/python/plugins/fTools/tools/doSelectByLocation.py", line
64, in compute
geomLayer = QgsGeometry(feat.geometry())
TypeError: argument 1 of QgsGeometry() has an invalid type
}}}
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1669#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