I am using QGIS 1.8 on Windows 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.
EDIT: 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: [...]
I have also tried saving the point layer coming from a SpatiaLite DB as a shapefile and reimporting this shapefile. I have also tried to do it with a much smaller subset of points. No success.