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

processing: singlepart to multipart fails #23435

Closed
qgib opened this issue Sep 1, 2016 · 1 comment
Closed

processing: singlepart to multipart fails #23435

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

Comments

@qgib
Copy link
Contributor

qgib commented Sep 1, 2016

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 15511
Affected QGIS version: master_2
Redmine category:processing/qgis
Assignee: Victor Olaya


take

https://raw.githubusercontent.com/qgis/QGIS/d0faca16a7e63e8bb0e9382c1b7746e1dfc67e2e/python/plugins/processing/tests/testdata/polys.gml

(make optionally a shape version of it) then try to do a "singlepart to multipart" operation using a column that has empty cells or that does not have records with the same value.

The tool returns an error

Invalid unique ID field

that is also misleading (because the operation really need a field that does not contain unique values).

Please notice also that not always (not with any input layer) the error surface when the attribute has empty cells, but seems to be always the case when the attribute does not have repeated values.

It also seems that has always been the case, at least in processing. In fact in ftools in such cases the operation stopped with

At least two features must have same attribute value!
Please choose another field...

for this reason I'm tagging this as regression, because ftools now is gone and the processing equivalent does not work the same way.

@qgib
Copy link
Contributor Author

qgib commented Sep 14, 2016

Author Name: Alexander Bruy (@alexbruy)


Fixed in changeset "d393734bd3d368f52271838414a3edbf1d4eb1a5".


  • status_id was changed from Open 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.16 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