[Qgis-user] Convert .shp to CAD, with attribute values as different layers

Namotec, Eberbach am Neckar 2019 at namotec.de
Tue Feb 13 05:38:38 PST 2024


Maybe direct conversion with GDAL/OGR is easier.Please refer:
https://gis.stackexchange.com/questions/431277/how-to-create-a-3d-dxf-from-arcgen-with-gdal-ogr2ogr

ogr2ogr -dialect sqlite -sql "SELECT ID as Layer, geometry from
import_polz" ^
-f "DXF" export_lin.dxf -nlt LINESTRING -dim 3 import_polz.shp

Change the db.Attribute ID to an existing one. For example "colour".

Am Dienstag, dem 13.02.2024 um 10:04 +0000 schrieb Chiz Harward via
QGIS-User:
> shapefile that has attributes and need to convert this to a CAD file.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240213/aef60f15/attachment.htm>


More information about the QGIS-User mailing list