Opened 16 years ago

Closed 9 years ago

#227 closed enhancement (fixed)

OGR: wish for DXF support (using opendxf libs)

Reported by: Markus Neteler Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: minor Keywords: dxf dwg
Cc: bartvde@…, ivano.picco@…, jdenisgiguere@…, fsozzi@…, Mateusz Łoskot, gok@…

Description (last modified by Mateusz Łoskot)


may I propose a non-surprising wish for OGR? It were great if OGR had DXF support. Perhaps you are aware of the opendxf library which could greatly support this idea.

There is an AutoCAD(tm)-like viewer which uses this library:

(LX-Viewer is a program that will allow you to open, view and print DWG or DXF files.Files can be saved to DWG or DXF formats from AutoCAD version 2.5 to 2000.)

The libs are here (they may not be bundled, though):

So probably the LX-viewer interface could be of help for an OGR integration.

Well, just one of my "great" ideas...

Best regards


Change History (12)

comment:1 Changed 16 years ago by warmerdam


A not too surprising request but not likely to happen in the immediate future.

comment:2 Changed 14 years ago by bartvde@…

Added myself to the cc.

comment:3 Changed 14 years ago by jdenisgiguere@…

What an interesting feature ! 

Maybe I may sugget another library : dxflib. RibbonSoft offer a dual license for
this library : gpl + commercial license for close source program. The library is
used in an actively maintain program (qcad).


comment:4 Changed 14 years ago by warmerdam

Thanks for the suggestion of dxflib.  Depending on circumstances it might
be the appropriate support library to use, but the obvious advantage of 
opendwg is that it supports the binary dwg files people are likely to have
their working data in.  I am presuming that dxflib is DXF only. 

comment:5 Changed 14 years ago by fsozzi@…

Hi all,

I am interested to this feature, so I add myself to cc



comment:6 Changed 14 years ago by ivano.picco@…

Added myself to the cc.


comment:7 Changed 11 years ago by Mateusz Łoskot

Cc: Mateusz Łoskot added
Description: modified (diff)

comment:8 Changed 11 years ago by Markus Neteler

Reporter: changed from neteler@… to Markus Neteler

comment:9 Changed 11 years ago by gok

Cc: gok@… added

comment:10 Changed 11 years ago by Markus Neteler

Possibly related to ticket #1459 ?

comment:11 Changed 10 years ago by Mateusz Łoskot

Keywords: dxf dwg added

comment:12 Changed 9 years ago by Even Rouault

Resolution: fixed
Status: assignedclosed

A DXF driver with read & write support has been added into OGR 1.7.0

Note: See TracTickets for help on using tickets.