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

Intersection tool ignores selected features in intersect layer #23508

Closed
qgib opened this issue Sep 19, 2016 · 2 comments
Closed

Intersection tool ignores selected features in intersect layer #23508

qgib opened this issue Sep 19, 2016 · 2 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
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Sep 19, 2016

Author Name: Frank Sokolic (Frank Sokolic)
Original Redmine Issue: 15584
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Victor Olaya


The Intersection tool ignores features that are selected in the Intersect Layer and performs the intersect on +all features+ in the intersect layer. Selected features in the Input Layer are handled correctly and the intersect is only performed on the selected features in the input layer.

This applies to both Vector > Geoprocessing Tools > Intersection and Processing Toolbox > QGIS geoalgorithms > Vector overlay tools > Intersection.

I feel that this is a regression from the ftools version where selected features in both the Input and Intersect layers are taken into account.

@qgib
Copy link
Contributor Author

qgib commented Sep 19, 2016

Author Name: Victor Olaya (@volaya)


I can confirm that it works like that. Just checked, and the issue seems to be in the spatial index. It is created with all features for the Intersect Layer, instead of just the selected ones.

Should be easy to fix. I will do it and close the ticket when ready.

Thanks!


  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2016

Author Name: Victor Olaya (@volaya)


Fixed in changeset "7370ade7513fb1e9a4b6dd8ec51224b5c29b7754".


  • status_id was changed from In Progress to Closed

@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 25, 2019
@qgib qgib added this to the Version 2.18 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 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