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
QGIS 2.18.12 dxf export generates one layer per feature #25025
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Jochen Schwarze (Jochen Schwarze) Should have set "Regression?" to 'yes' because worked fine in previous version. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Jürgen Fischer (@jef-n) Which field did you select for the layer name? |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman) Hi Jurgen, I have no time to test this today, not a regression? |
Author Name: Jürgen Fischer (@jef-n) Giovanni Manghi wrote:
I suspect that the gml_id was selected as attribute definining the dxf layer name (instead of keeping the default - which is the qgis layer name) |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Jochen Schwarze (Jochen Schwarze) No, definitly the defaults where kept for the export process. But having had a closer look at the results, I saw that the issue was not described exact enaugh. The default configuration generates one layer per feature and in addition one layer named after the QGIS layer name containing all features (Case A, cp. screenshots). This behaviour can be observed for any layers, and the (unique(?)) attribute values used as layer names seem to be chosen accidently (e.g. for layer 'Adressen gesamt' attribute "hausnummer", cp. screenshots) Selecting an attribute containing the layer name was tested also (here: attribute "gemarkungsnummer"), wich generates one layer for each "gemarkungsnummer", BUT NO layer named after the QGIS layer name (Case B, cp. screenshots). This observation leads me to a simple workaround for 2.18.x: One might create a virtual field "layer" wich contains the 'layer name' (here: 'Flurstuecke gesamt') as the one and only attribute value and select this attribute for the layer name. This would be ok for one or at the most very few layers, but becomes painful for, say, ten or more. Since this behaviour cannot be observed in 2.14.x, a Regression = 'Ja' might be justifyable.
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jochen Schwarze (Jochen Schwarze)
Original Redmine Issue: 17126
Affected QGIS version: 2.18.12
Redmine category:dxf_export
QGIS 2.18.12 dxf export generates one layer per feature (cp. screenshot). In QGIS 2.14. we had one dxf layer per QGIS layer, not sure if this behaviour is a bug or caused by users mistake.
Related issue(s): #24229 (duplicates), #24661 (relates)
Redmine related issue(s): 16319, 16762
The text was updated successfully, but these errors were encountered: