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

Export attributes from dynamic SVG as attribute (definition) objects to DXF files #45317

Open
yodaanneaux opened this issue Sep 29, 2021 · 0 comments
Labels
DXF/DWG Relating to DXF or DWG importing/exporting Feature Request

Comments

@yodaanneaux
Copy link

Feature description

I am not an informatician, just an intensive user of the amazing Qgis software, so please be kind if my proposal is very naïve.

Since Qgis 3.18, a new feature called dynamic SVG (SVGs containing values based on the attribute table) is available (see here => GitHub and the future documentation here =>12.2.2.2.5. Parametrizable SVG).

When a DXF file is exported from Qgis to a CAD tool, SVGs are exported into blocks. As expected, dynamic SVGs are also exported into blocks which, when exploded, render hatch objects.

Animation1

The export of dynamic SVGs from Qgis to DXF file may offer some interesting possibilities for users who are regularly using Qgis and CAD-tools. Indeed, as blocks could embed attributes, we can imagine that export of data from Qgis with dynamic SVGs to DXF files could generate blocks which, when exploded, render either attribute definition objects or attribute objects for attributes.

Animation2

Additional context

As Attribute Definition could be converted to Text or MText objects in CAD, this feature could help the transfer of stylized data from Qgis to CAD Tools, thus contributing to fill the gap between GIS and CAD users, which is the general trends and needs in engineering office.

As ogr2ogr manage data conversions in QGIS, I suppose that this new feature also needs to be addressed by ogr2ogr, am I right?

@yodaanneaux yodaanneaux changed the title Export attributes as text (or MText) from dynamic SVG to DXF files Export attributes as attribute (definition) objects from dynamic SVG to DXF files Sep 29, 2021
@yodaanneaux yodaanneaux changed the title Export attributes as attribute (definition) objects from dynamic SVG to DXF files Export attributes from dynamic SVG as attribute (definition) objects to DXF files Sep 29, 2021
@alexbruy alexbruy added the DXF/DWG Relating to DXF or DWG importing/exporting label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DXF/DWG Relating to DXF or DWG importing/exporting Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants