DXF Export ist not working for Labels with "Data rdefined" Rotation.
Steps to reproduce the issue
Working with a PG-DB
Layer - Labels
Rotation gon (Attribut with rotation - e.g. ori / Formula {"ori"+100}) or degrees gon (Attribut with rotation - e.g. ori / Formula {"ori" *360/400-90})
--> DXF Export
With deactivated Rotation: Export shows the labels
.
Versions
QGIS version
3.26.0-Buenos Aires
QGIS code revision
0aece2818e
Qt version
5.15.3
Python version
3.9.5
GDAL/OGR version
3.5.0
PROJ version
9.0.1
EPSG Registry database version
v10.064 (2022-05-19)
GEOS version
3.10.3-CAPI-1.16.1
SQLite version
3.38.1
PDAL version
2.3.0
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
It seems here that it does rotate labels as expected if the rotation is explicitly set. But if the rotation in QGIS is automatic due to the map being rotated then it doesn't.
If my map is rotated, labels in QGIS are horizontal by default.
features in the exported DXF are in unrotated model space.
The label text in the DXF is horizontal, so if the view in CAD is rotated to match the rotation in QGIS, the label text rotation does not match.
To export DXF with label rotation matching the feature orientation, I need to explicitly set the label rotation in QGIS. If my map rotation is 73 degrees I set the label rotation to 287 degrees (360 - map rotation)
What is the bug or the crash?
DXF Export ist not working for Labels with "Data rdefined" Rotation.
Steps to reproduce the issue
Working with a PG-DB Layer - Labels
With deactivated Rotation: Export shows the labels
.
Versions
QGIS version 3.26.0-Buenos Aires QGIS code revision 0aece2818e Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.5.0 PROJ version 9.0.1 EPSG Registry database version v10.064 (2022-05-19) GEOS version 3.10.3-CAPI-1.16.1 SQLite version 3.38.1 PDAL version 2.3.0 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009
Active Python plugins AnotherDXF2Shape 1.2.4 changeDataSource 3.1 DigitizingTools 1.5.1 go2streetview 8.6 openlayers_plugin 2.0.0 PluginLoadTimes 3.0.1 qfieldsync v4.1.1 qgis_report_wizard 1.1.0 QNEAT3 1.0.4 QuickOSM 2.0.1 quick_map_services 0.19.29 selectThemes 3.0.1 SelectWithin 0.4 send2google_earth 0.3.1 StreetView 3.2 swissgeodownloader 2.0 swiss_locator 1.4.9 themeselector 3.2.2 db_manager 0.1.20 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response