Opened 17 years ago

Last modified 9 years ago

#1443 closed enhancement

DgnLib - LineString with more than 101 vertices — at Initial Version

Reported by: jll@… Owned by: warmerdam
Priority: lowest Milestone:
Component: default Version: unspecified
Severity: minor Keywords:
Cc:

Description

I tried to run dgndump (from dgnlib-1.11) with a test file containing a bad element (a line string with 102 vertices). It does not crash. However, it prints 102 vertices for this linestring while it should not since MicroStation (except V8) does not allow line strings to have more than 101 vertices.
When I check this file with the MicroStation tool EDG, I get the following :
EdG> verify after
      8    (4)  Line STRING                  Level = 1
DGN-E-BADELEM: Bad element: probably incorrect display and may not operate
DGN-E-EWTFBAD: Calculated size (421) does not match WTF (425)
DGN-I-ATTRFLAG: attributes present but not flagged
DGN-W-IXATENDD: Index to attributes does not point to end of element data
DGN-I-IDXATR: Calculated index to attributes = 407
DGN-E-VERTMAX: Number of Vertices is greater than 101

Change History (0)

Note: See TracTickets for help on using tickets.