Opened 14 years ago

Closed 9 years ago

#3321 closed defect (wontfix)

dxf-reader: detection of dashed lines

Reported by: neumann Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: dxf
Cc:

Description (last modified by warmerdam)

In the example "fuaggeobau.dxf" (available to Frank), the detection of dashed lines is not working as expected.

The following element has LTYP 9, which is defined as dashed in the AcDbLinetypeTableRecord. It would be good if this linetype could be exposed in the Style-String according to OGR Feature Styling.:

OGRFeature(entities):1964
  Layer (String) = 01311
  SubClasses (String) = AcDbEntity:AcDbPolyline
  ExtendedEntity (String) = { AV_EO_Linienele FID: 10749  {         0 } }
  Linetype (String) = LTYP9
  EntityHandle (String) = 3BA81
  Text (String) = (null)
  Style = PEN(c:#ffffff)
  LINESTRING : 6 points

Attachments (1)

dashed_line_dxf.png (67.4 KB ) - added by neumann 14 years ago.
The attached file shows the dashed line (left of the text label 508)

Download all attachments as: .zip

Change History (5)

by neumann, 14 years ago

Attachment: dashed_line_dxf.png added

The attached file shows the dashed line (left of the text label 508)

comment:1 by warmerdam, 14 years ago

Component: defaultOGR_SF
Description: modified (diff)
Keywords: dxf added
Status: newassigned
Version: unspecifiedsvn-trunk

comment:2 by warmerdam, 14 years ago

Currently the DXF driver does not attempt to read the line types table, nor deduce line patterns. I'm also not aware of any client applications utilizing the line patterns part of the OGR style specification so it would be hard to test correctness of translation.

The LTYPE table contains this excerpt describing the line style dot/dash pattern.

 72
    65
 73
     2
 40
0.17
 49
0.1
 74
     0
 49
-0.07
 74

I am going to defer activity on this for the time being. I'm not positive this is a good can of worms to open.

comment:3 by Jukka Rahkonen, 9 years ago

I read this to mean about the same as "wontfix":

"I am going to defer activity on this for the time being. I'm not positive this is a good can of worms to open."

Anything against closing the ticket?

comment:4 by Jukka Rahkonen, 9 years ago

Resolution: wontfix
Status: assignedclosed

No feedback, closing.

Note: See TracTickets for help on using tickets.