Opened 10 years ago

Closed 10 years ago

Last modified 10 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 10 years ago.
patch file
13.png (87.1 KB ) - added by martinslinde 10 years ago.
with SOLID support
08.png (75.1 KB ) - added by martinslinde 10 years ago.
without SOLID support
test.dxf (261.4 KB ) - added by martinslinde 10 years ago.
test DXF file from screenshots
test_one.dxf (284.3 KB ) - added by martinslinde 10 years ago.
DXF with only one SOLID entity

Download all attachments as: .zip

Change History (9)

by martinslinde, 10 years ago

patch file

by martinslinde, 10 years ago

Attachment: 13.png added

with SOLID support

by martinslinde, 10 years ago

Attachment: 08.png added

without SOLID support

comment:1 by Even Rouault, 10 years ago

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 ?

by martinslinde, 10 years ago

Attachment: test.dxf added

test DXF file from screenshots

by martinslinde, 10 years ago

Attachment: test_one.dxf added

DXF with only one SOLID entity

comment:2 by martinslinde, 10 years ago

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

comment:3 by Even Rouault, 10 years ago

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 by Even Rouault, 10 years ago

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