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
Join Attributes by Location doesn't process integer attributes #23015
Comments
Author Name: Alexander Bruy (@alexbruy) Note that fTools was removed and now you should use Processing. Works fine in master with Processing. |
Author Name: Alexander Bruy (@alexbruy) Also works with 2.14.3 using Processing. |
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Andrzej Popowski (Andrzej Popowski) Processing doesn't work correctly either in 2.14.3, when I use csv map as target layer. The same processing procedure works in 2.13.3. I guess it should be other ticket? |
Author Name: Alexander Bruy (@alexbruy) Andrzej Popowski wrote:
Yes. Please tests also with master, and if you will create another ticket please provide sample dataset and steps to reproduce issue. |
Author Name: Andrzej Popowski (Andrzej Popowski) I see you have rejected ticket for processing as a duplicate. I'm confused. |
Author Name: Alexander Bruy (@alexbruy) Andrzej Popowski wrote:
It was exactly the same as this one.
You can't install fTools, it was a core plugin and now it removed from QGIS. I can't reproduce your issue with master and 2.14.3. Joining using alaska.shp as "target layer" and airports.shp as "join" layer with "intersects" predicate I get correct result, see attached screenshot. Please check that you use Processing shipped with QGIS, not from your ~/.qgis2/python/plugins directory. If you have Processing installed in ~/.qgis2/python/plugins — remove it.
|
Author Name: Andrzej Popowski (Andrzej Popowski) I guess problem is the same in both tickets, only this one deals with outdated feature. Maybe better reject this one and continue in processing? Are you testing Linux version? See comment at #23062, probably only Windows version is affected. I'm not sure, which processing is executed. If I remove qgis-dev\python\plugins\processing then no processing is available in QGIS 2.15, so I think the executed plugin is there. |
Author Name: Andrzej Popowski (Andrzej Popowski) These are result, that I get in Windows, processing in both versions.
|
Author Name: Alexander Bruy (@alexbruy) Fixed in changeset "a5392fb51d0743458ba84c5a3841cae5b6a67718".
|
Author Name: Andrzej Popowski (Andrzej Popowski) I confirm, that your patch corrects the problem. Thanks for your work! Similar patch for doSpatialJoin.py form fTools in 2.14 works too. A note: isn't it a more general problem? |
Author Name: Andrzej Popowski (Andrzej Popowski) While problem is corrected in "processing" algorithms, it still exist in fwTools in LTR version 2.14.10. File doSpatialJoin.py should be corrected at line 153, probably doMeanCoords.py at line 77 and maybe more.
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Andrzej Popowski (Andrzej Popowski) Problem still exist in QGIS LTR 2.14.11-1.
|
Author Name: Alexander Bruy (@alexbruy) Issue fixed in Processing and fix backported to all relevant branches. fTools is deprecated, use Processing instead.
|
Author Name: Andrzej Popowski (Andrzej Popowski)
Original Redmine Issue: 15072
Affected QGIS version: 2.14.3
Redmine category:processing/qgis
When executing "Join Attributes by Location" with option "Take summary of intersecting features", output shapefile doesn't include any summary of an integer attribute.
Test example from Alaska dataset: join target layer "alaska" with "airports". Missing are summaries of integer attributes "ID" and "fk_region", present is summary of float attribute "ELEV".
Function "Join Attributes by Location" works correctly in version 2.12.3, doesn't work in all versions 2.14 and current LTR 2.8.9. All tested versions are x64 releases on Windows 10.
Related issue(s): #23062 (duplicates)
Redmine related issue(s): 15121
The text was updated successfully, but these errors were encountered: