-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
209 lines (125 loc) · 5.87 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
DGNLIB Source Distribution
==========================
Current information on DGNLIB, including detailed API documentation
can be found at:
http://dgnlib.maptools.org/
Building
--------
This is a preliminary source distribution, and I have not gone to any
pains to make it easy to configure and build. To build please do the
following:
== Unix:
1. Update cpl_config.h to represent your platform accurately. Generally all
that matters is to #define WORDS_BIGENDIAN on big endian platforms. The
rest can likely be ignored.<p>
2. Build the programs.
% make
== Windows:
1. Ensure you have Microsoft Visual C++ 6.x or later installed.
2. Ensure the commandline VC++ environment is setup properly. You may need
to run the VCVARS32.BAT script from within the VC++ tree.
3. Compile the code, and build statically linked executables for the sample
programs and DLL using the following command.
nmake /f makefile.vc
Release Notes
=============
Release 1.11
------------
o B-Spline support:
- The DGNT_BSPLINE define was bogus, replaced with DGNT_BSPLINE_POLE.
- Added support for the following B-Spline related elements:
o DGNElemBSplineSurfaceHeader (24)
o DGNElemBSplineCurveHeader (27)
o DGNElemBSplineSurfaceBoundary (25)
o DGNElemKnotWeight (26/28)
o Added initial support for Shared Cell Definition elements
o 3D solid/surface fixes:
- Fixed incorrect reading and writing of surftype field.
- Added boundelms field to DGNElemComplexHeader
- Added DGNCreateSolidHeaderElem() and DGNCreateSolidHeaderElemFromGroup()
- Changed DGNCreateComplexHeaderElem() and
DGNCreateComplexHeaderElemFromGroup() to only support complex chains/shapes
- Fixed bug creating solids/surfaces: totlength was 1 word too short.
- Renamed bogus define DGNSUT_SOLID to DGNSUT_SURFACE_OF_PROJECTION
o Added support for cloning Cone elements
o Fixes for uor handling in DGNCreate().
o Treat the most recently read color table as the global color table,
instead of just the first one encountered.
o Added Text Node implementation from Ilya Beylin.
Release 1.10
------------
o Added DGNElemTypeHasDispHdr(), and use it in DGNParseCore() to avoid trying
to read disp hdr, or attributes from inappropriate elements.
o Check if a negative amount of attribute information is being read in
DGNParseCore(), and if so just issue a warning, and skip attempt.
o Fixed DGNCreateCellHeaderFromGroup() to not pre-transform the bounds.
o Fixed missing handling of min/max Z in DGNCreateMultiPointElem(). (Marius)
o Added surface type to DGNCreateComplexHeaderElem(). (Marius)
o DGNRad50ToAscii() reimplemented to correct a few problems. New version
provided by Armin Berg (iez.com).
o Fixes to complex header and cell header creation to set the total group
size properly, and to set up complex header pad attributes properly. Now
passed EDG validation.
Release 1.9
-----------
o Added DGNLoadTCB(), and fixed problem when writing new elements to an
existing file without having already read the TCB.
o Fixed serious bug in setting the index "offset" location. Critical for
writing applications.
Release 1.8
-----------
o Added support for reading 3D cone (23), 3D surface (18) and 3D solid (19)
elements based on contributions from Marius Kintel.
o Main site moved to http://dgnlib.maptools.org/
Release 1.7
-----------
o Improved calcuation of bounding box in DGLCreateTextElem() based on code
from Matt Kelder.
o Added preliminary 3D write support.
o Modified DGNCreateTextElem() arguments, and deprecated DGNCreateArcElem2D()
in favour of DGNCreateArcElem().
o Report transformation matrix for ViewInfo when dumping.
Release 1.6
-----------
o Bug fix in DGNGetLinkage() for DMRS recognition from Henk Jan Priester.
o Added DGNCreateCellHeaderFromGroup() and DGNCreateCellHeaderElem()
functions in the write API.
o Added a Microsoft VC++ makefile (Makefile.vc).
Release 1.5
-----------
o Added 2D write support!
o Fixed collection of background color in color table (color 255) as per
bug report by Henk Jan Priester (Justcroft Technical Systems).
o Added support for association ids (DGNLT_ASSOC_ID, DGNGetAssocID()).
o Fixed problem with updating the DGNInfo.color_table field when a color
table is read.
o Fixed problem with spatial queries either including all of a complex
element (and it's members) or none.
o Added support for reading the eight view descriptions in the TCB element.
o Added a Makefile in the source distribution.
o Fixed error with tags in DGNFreeElement() as reported by Henk Jan Priester.
Release 1.4
-----------
o Added "fast" spatial searching via the DGNSetSpatialFilter() function.
This basically just reads the extents information at beginning of
geometric features to see if they should be returned.
o Actually extract the global origin from the TCB, and use it when
transforming points. Only a few files (ie. Brazos County roads.rds) use
a non-zero origin.
o Added experimental multi byte text support from Ason Kang
o Add experimental support for 3D files. Somes 3d elements not supported.
3d quaterion for ellipse and arc elements not utilized.
o Added preliminary support for reading cell header structures based
on input from Mike Cane.
o Moved a bunch of stuff into dgnread.cpp.
o Build default colortable into dgnhelp.cpp for use of DGNLookupColor().
o Added DGNGetShapeFillInfo().
o DGNGetShapeFillInfo() now tries to handle multi-part attribute linkages.
Release 1.3
-----------
o Added raw_data/raw_bytes members of DGNElemCore, and DGNSetOptions()
to allow control of when raw element image is retained.
o Added -r flag to dgndump to dump raw contents of desired elements.
o Add CPL_CVSID() to simplify tracking of versions.
o Fixed bug with freeing element index in DGNClose().