[gdal-dev] writing DWG/DXF

Andreas Neumann a.neumann at carto.net
Wed Mar 17 15:06:34 EDT 2010


yes - it is a read/write driver.

Since there are so many dxf variations out there reading may not be 
supported for all files. Also there are some issues with reading (e.g. 
block references, maybe some text issues). Curves and Splines are 
segmented on reading the dxf. An application that reads dxf needs to be 
able to deal with multiple geometry formats at once - e.g. mixed 

DWG reading is not supported by this reader, since DWG is not well 
documented (at least not in the public) and a binary format.

It would be good if you could test and report issues.

Regarding writing:
* OGRFeatureStyling is supported partially (at least pen colors work, 
dashes I think not)
* currently there is no way to write to more than one layer
* again issues with block references

There will be further work on this provider. If you (or someone else) 
would have some money for improvements it would help as well.


bartvde at osgis.nl wrote:
> Hi,
> I believe it also writes:
> http://svn.osgeo.org/gdal/trunk/gdal/ogr/ogrsf_frmts/dxf/drv_dxf.html
> "DXF files are written in AutoCAD 2000 format."
> Best regards,
> Bart
>> Bart,
>> bartvde at osgis.nl wrote:
>>> there is a new driver that does not have this dependency:
>>> http://fwarmerdam.blogspot.com/2009/12/ogr-dxf-driver.html
>> Thanks for pointing this out, I was not aware of the development. But
>> that is a read-only driver, is it not?
>> Bye
>> Frederik
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list