Opened 10 years ago

Closed 10 years ago

#4842 closed defect (fixed)

Reading arc entity from DXF doesn't work

Reported by: fsuarez Owned by: warmerdam
Priority: normal Milestone: 1.9.2
Component: OGR_SF Version: 1.9.1
Severity: normal Keywords: dxf arc
Cc:

Description

I'm trying to read an Arc entity from a DXF file and DXF driver doesn't transform it with the correct orientation

Attachments (1)

arc.dxf (94.4 KB ) - added by fsuarez 10 years ago.
Dxf file with an arc entity

Download all attachments as: .zip

Change History (2)

by fsuarez, 10 years ago

Attachment: arc.dxf added

Dxf file with an arc entity

comment:1 by Even Rouault, 10 years ago

Component: defaultOGR_SF
Milestone: 1.9.2
Resolution: fixed
Status: newclosed

This is due to an extrusion vector of (0,0,-1) (line 1671 to 1676 of arc.dxf), instead of the default (0,0,1). So an OCS to WCS transformation is needed for ARC too. See #3372

trunk (r25030) and branches/1.9 (r25031) : "DXF: take into account extruction vector to transform from OCS to WCS for MTEXT, TEXT, POINT, LINE, CIRCLE, ELLIPSE, ARC, SPLINE and HATCH (#4842)"

Note: See TracTickets for help on using tickets.