Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5380 closed enhancement (fixed)

SOLID type support for OGR DXF

Reported by: martinslinde Owned by: warmerdam
Priority: low Milestone: 1.11.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: dxf solid
Cc:

Description

I have added 2D SOLID (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/solid_dxf_06.htm) read support for OGR DXF format. (I have not done any C++ programming for a while, so it would be good if someone can go through the patch).

Attachments (5)

gdal-dxf-solid-support.patch (6.5 KB) - added by martinslinde 3 years ago.
patch file
13.png (87.1 KB) - added by martinslinde 3 years ago.
with SOLID support
08.png (75.1 KB) - added by martinslinde 3 years ago.
without SOLID support
test.dxf (261.4 KB) - added by martinslinde 3 years ago.
test DXF file from screenshots
test_one.dxf (284.3 KB) - added by martinslinde 3 years ago.
DXF with only one SOLID entity

Download all attachments as: .zip

Change History (9)

Changed 3 years ago by martinslinde

patch file

Changed 3 years ago by martinslinde

Attachment: 13.png added

with SOLID support

Changed 3 years ago by martinslinde

Attachment: 08.png added

without SOLID support

comment:1 Changed 3 years ago by Even Rouault

Great. Would you be able to also provide a very small DXF with a SOLID entity in it so this can be used to enhance the regression test suite ?

Changed 3 years ago by martinslinde

Attachment: test.dxf added

test DXF file from screenshots

Changed 3 years ago by martinslinde

Attachment: test_one.dxf added

DXF with only one SOLID entity

comment:2 Changed 3 years ago by martinslinde

Sorry forgot to add, test.dxf is the one used in screenshots and test_one.dxf contains only SOLID entity.

comment:3 Changed 3 years ago by Even Rouault

Milestone: 2.0
Resolution: fixed
Status: newclosed

Patch applied in trunk in r26928 "DXF: support reading SOLID entities (patch by martinslinde, #5380)" with a few slight modifications (static keyword added for internal functions, fix for a mem leak)

comment:4 Changed 3 years ago by Even Rouault

Milestone: 2.01.11.0
Note: See TracTickets for help on using tickets.