Join Attributes by Location does not intersect / return data #21005
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
Author Name: mike t (mike t)
Original Redmine Issue: 12922
Affected QGIS version: 2.8.2
Redmine category:processing/qgis
Using QGIS 2.8.2, Processing 2.9.3 - Attempting to join point data to polygons. Works fine when using Vector>Data Management Tools>Join Attributes by Location or the Graphical Modeler. However, when trying to use via Python console or plugin, the result is an empty output containing fields from both inputs.
Here is the console syntax:
@import processing
processing.runandload("qgis:joinattributesbylocation", 'FreshPolys', 'Points', 'intersects',1,'SUM',1,r"C:\scratch\pythonout.shp")@
Polygon and Point data are attached. The Polygons are valid with no topology errors. Both use CRS 4326.
Downgrading the processing plugin to 2.2.0-2 corrects the issue, but not a long-term solution. Also curious as to what possible problems/conflicts could arise from using 2.2 processing plugin with Wien 2.8.2.
Thank you
The text was updated successfully, but these errors were encountered: