Atlas Boundary .BNA files store spatial information including polygons, polylines, and points. These files can contain primary and secondary IDs. Strater lithology indent styles only use the polyline portion of .BNA files. If the file contains polygons, complex polygons, ellipses, or points it cannot be imported into Strater's scheme editor. Atlas Boundary .BNA files can contain polygons, ellipses, or points if the file is imported as a graphic with the File | Import command.
The general format of Atlas .BNA files is:
"Pname 1", "Sname 1", type/length
x1,y1
x2,y2
...
xn,yn
"Pname 2", "Sname 2", type/length
x1,y1
x2,y2
...
xn,yn
Where:
Pname is the primary ID. Primary IDs are used with polylines and lithographic line styles.
Sname is the secondary ID, which is not used in Strater.
The type/length is an integer that identifies the object as a polygon (positive integer greater than 2), polyline (negative integer less than -1), ellipse (the value 2), or point (the value 1). The type/length field also indicates the number of coordinate pairs to follow. Ellipses have a type/length value 2. The first pair of coordinates describes the center of the ellipse. The major and minor radii are stored in the second pair of coordinates. If the minor radius is 0, the ellipse is a circle. Only polylines can be included in .BNA files to be used in Strater's indent line styles and complex polygons are not supported in Strater.
Following the type/length are the actual X,Y coordinate pairs that make up the object. These can be integers or real numbers, and are stored one pair per line.
The following is an example of an indent line style in the Atlas Boundary .BNA file format.
"New Indent","",-5
0.000000,0.000000
985.981361,206.521713
355.140250,572.463812
1000.000000,836.956575
443.925313,1000.000000
The coordinate range must be zero to 1000.
The y1 value must be zero.
The yn value must be 1000.
The X values must be between zero and 1000.
The coordinates cannot be negative.
If you are familiar with the Atlas Boundary file format from one of Golden Software's other software programs, note that complex polygons and the alternate .BNA format are not supported in Strater.
See Also