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
Split vector layers returns incorrect layer names #37296
Comments
Confirmed here. |
I believe it's intentionally that way. The unique ID field may be of any type and any length like unlimited length TEXT or even BLOB, that can't be put on a filename. |
@uclaros right, but is an extremely common case using a "normal" attribute, and what the user is looking for is to have this attribute used in the resulting files/layers names. |
@uclaros It's a regression, it doesn't happen in 3.10 or 3.12 |
Confirmed for QGIS 3.14.0-Pi on Windows 10 64 bit |
use attribute value in the output file name for Split vector layer algorithm (fix #37296)
Describe the bug
When using the split vector layer tool the resulting layers have incorrect names, like attribute_name + index[0,1,2,3,4,5,...] but it should be attribute name + attribute value. It happens with text and numeric fields and using different output formats (gpkg, shp).
How to Reproduce
QGIS and OS versions
QGIS 3.13
Ubuntu 20.04
Additional context
Test gpkg
split_test.zip
The text was updated successfully, but these errors were encountered: