Bug report #5389

"points in polygon" tool broken in qgis master

Added by Giovanni Manghi over 12 years ago. Updated over 7 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Processing/QGIS
Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:15065

Description

it returns

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doPointsInPolygon.py", line 80, in accept
self.compute(inPoly, inPts, inField, outPath, self.progressBar)
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doPointsInPolygon.py", line 144, in compute
if inGeom.intersects(tmpGeom.asPoint()):
TypeError: arguments did not match any overloaded call:
QgsGeometry.intersects(QgsRectangle): argument 1 has unexpected type 'QgsPoint'
QgsGeometry.intersects(QgsGeometry): argument 1 has unexpected type 'QgsPoint'

as this is a regression and a core tool it should be fixed before releasing 1.8

Associated revisions

Revision be6b2a00
Added by Alexander Bruy over 12 years ago

fix broken Points in polygon (fix #5389)

History

#1 Updated by Alexander Bruy over 12 years ago

  • Status changed from Open to Closed

#2 Updated by Alexander Bruy over 12 years ago

  • Resolution set to fixed

#3 Updated by Giovanni Manghi over 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF