Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point in polygon analysis fails with "TypeError: arguments did not match any overloaded call" #17064

Closed
qgib opened this issue Jul 10, 2013 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Jul 10, 2013

Author Name: Winston Smith (Winston Smith)
Original Redmine Issue: 8260
Affected QGIS version: 1.8.0
Redmine category:processing/qgis


I am using QGIS 1.8 on Windows 7 (I've tried 1.8.0-5 and 1.8.0-7)

I want to perform a point in polygon analysis using the Vector > Analysis Tools menu.

My point layer is the result of a SpatiaLite query which returns 10'000 points.

My polygon layer is a simple shapefile with about 150 different polygons. Both layers are in WGS84 (EPSG:4326).

When I click the "OK" button in the Point in Polygon tool, just nothing happens. The progress bar stays at 0%, but I cannot click "Cancel" (i.e. nothing happens). I can click on the Close-Button in the upper right though, the window then disappears.

This works in the latest master of 1.9.

This is the output from the message log:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools\\doPointsInPolygon.py", line 215, in run
    tmpGeom = QgsGeometry(pntFeat.geometry())
TypeError: arguments did not match any overloaded call:
  QgsGeometry(): too many arguments
  QgsGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'

Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


QGIS version:
1.8.0-Lisboa Lisboa, f440b60

Python path: [...]


@qgib
Copy link
Contributor Author

qgib commented Jul 10, 2013

Author Name: Matthias Kuhn (@m-kuhn)


  • operating_system was changed from Windows to
  • version was changed from master to 1.8.0
  • os_version was changed from 7 to

@qgib
Copy link
Contributor Author

qgib commented Jul 11, 2013

Author Name: Giovanni Manghi (@gioman)


If it works on qgis master then there is nothing to do, as there are no backports.

If is not working on qgis master please reopen this ticket. Cheers!


  • category_id was changed from Vectors to 44
  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


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

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant