-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 Produces two Intersection points on the same position when performed on Same Layer #16157
Comments
Author Name: Sibi Prabakaran (Sibi Prabakaran) Pull Request submitted in #414
|
Author Name: Giovanni Manghi (@gioman) Matthias Kuhn wrote:
yes, because the result layer is empty. Moreover if the tool is run using two different shapes I get Traceback (most recent call last): I get the same error when running the tool using postgis layers. |
Author Name: Daniel Vaz (Daniel Vaz) When lines are in the same layer, I think that there is a problem using the same provider to iterate over both lines. There is a strange behaviour, I don't know why, but it looks like that code:
overriden the provider1, so in the loop:
the attribute map of each feature (inFeat.attributeMap()) is an empty dict. The patch attached includes the patch proposed by Sibi and adds a HACK that solves the problem, but it's not the correct way, I think.
|
Author Name: Daniel Vaz (Daniel Vaz) The hack that solves the problem, is added the following two lines before the while loop.
|
Author Name: Daniel Vaz (Daniel Vaz) See pull request 702. #702 |
Author Name: Nathan Woodrow (@NathanW2) Fixed in changeset "56210eb0b5c7914d246b1c82ad48e676b00b6557".
|
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. |
Author Name: Sibi Prabakaran (Sibi Prabakaran)
Original Redmine Issue: 7073
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Sibi Prabakaran
Platform Used: Ubuntu Linux 32-bit
The Intersection tool when performed on the same layer produces two intersection points overlapping each other.
Their attribute table data for the intersected points is something like this:
1,2
2,1
Related issue(s): #16115 (relates)
Redmine related issue(s): 7021
The text was updated successfully, but these errors were encountered: