Opened 8 years ago

Last modified 7 years ago

#6246 closed defect

OGR does not read properly DXF Polyface Meshes — at Version 1

Reported by: oleinik Owned by: warmerdam
Priority: normal Milestone: 2.2.0
Component: OGR_SF Version: 2.0.1
Severity: normal Keywords:
Cc:

Description (last modified by oleinik)

DXF POLYLINE entities can represent a Polyface Meshes. It determined by the presence of the group code 70 with value of 64. Group code 71 represents number of points in mesh and group code 72 represents number of faces. In this mode VERTEX entities with group code 70 = 192 (128 + 64) represents points with coordinates 10,20,30 group codes and VERTEX with group code 70 = 128 represents faces of this mesh and group codes 71,72,73,74 contains indexes of previosly defined points, staring at 1. Such POLYLINE entities must be translated to wkbMultiPolygon, wkbMultiPolygon25D but not wkbLineString, wkbLineString25D. Or may be translated to wkbCurvePolygon, wkbCurvePolygonZ. I don't know what will be better.

Change History (2)

by oleinik, 8 years ago

Attachment: test.dxf.7z added

Test file with one Polyline Mesh

comment:1 by oleinik, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.