[Qgis-developer] save as... dxf: output does not open in cad software

Giovanni Manghi giovanni.manghi at gmail.com
Fri Oct 14 20:04:48 EDT 2011


Hi,

During a training course I have been pointed that almost any vector
saved as dxf in QGIS (using "save as..."), does not open in Autocad. I
have tested myself with an Autodesk free viewer (Free DWG Viewer), and
the message is like

Invalid database handle 0 on line 1548.
Invalid or incomplete DXF input -- drawing discarded.

The same seems to happen in other CAD software like LivreCAD (under
Linux), but not if you open it back in QGIS.

Translating the vector to DXF with ogr2ogr leads to a file that opens
fine in CAD software. Ex:

ogr2ogr -f "DXF" teste10.dxf TM_WORLD_BORDERS-0.3.shp


I'll file a ticket about this issue.

cheers

-- Giovanni --




More information about the Qgis-developer mailing list