Data Format B-3 DX Polyline and Polygon File
The DX format is described in the following outline. The vertical bar "|" indicates the actual left side of the file.
Notes |Contents of line beginning
\ /Column 1 of the actual file
------------------------------------------------
Line01 |Description Line ] Header lines (1st line in the file)
Line02 |#Polylines ]
Line01p1 |Index,nPts,branch,type,angle,deltax }Header lines for each polyline
Line02p1 |PolyLine ID } branch,angle,deltax are only used
Line03p1 |PolyLine Desc } for special cases but must be input.
Line01p1n1 |X,Y or X,Y,Z ] Data Points } Type = 0 Undefined (defaults to open)
Line02p1n2 |X,Y or X,Y,Z ] Loop over nPts } Type = 1 Polyline (Open)
Line03p1n3 |X,Y or X,Y,Z ] } Type = 2 Polygon (Closed)
...
Linennp2nn |X,Y or X,Y,Z ] }End of Polyline Block
Line01p2 |Index,nPts,branch,type,angle,deltax }Header lines for each polyline
Line02p2 |PolyLine ID }
Line03p2 |PolyLine Desc }
Line01p2n1 |X,Y or X,Y,Z ] Data Points }
Line02p2n2 |X,Y or X,Y,Z ] Loop over nPts }
Line03p2n3 |X,Y or X,Y,Z ] }
...
Linennp2nn |X,Y or X,Y,Z ] }End of Polyline Block
Example
---------------------------------------------
HR Test Sections
2
1,10,0,1,0,0
XS022
Geomorph XS022
55907.8741026827, 910678.007703451, 956.594
55907.2507413484, 910678.789637365, 956.594
55906.6273800142, 910679.57157128, 956.604
55906.0040186799, 910680.353505195, 956.574
55905.3806573456, 910681.135439109, 956.404
55904.7572960113, 910681.917373024, 956.884
55904.1339346771, 910682.699306939, 957.434
55903.5105733428, 910683.481240853, 956.954
55902.8872120085, 910684.263174768, 956.764
55902.2638506742, 910685.045108683, 957.564
2,22,0,1,0,0
XS023
Geomorph Transect XS023
55867.0383902119, 910642.619457468, 964.856
55866.7836519141, 910643.049699725, 961.236
55866.6308089354, 910643.307845079, 959.236
55866.2741753184, 910643.910184238, 957.346
55865.7646987227, 910644.770668752, 957.116
55865.255222127, 910645.631153266, 957.146
55864.7457455313, 910646.49163778, 957.146
55864.2362689356, 910647.352122294, 957.106
55863.7267923399, 910648.212606807, 956.976
55863.2173157442, 910649.073091321, 957.126
55862.7078391485, 910649.933575835, 956.716
55862.1983625528, 910650.794060349, 956.606
55861.688885957, 910651.654544862, 956.646
55861.1794093613, 910652.515029376, 956.696
55860.6699327656, 910653.37551389, 957.206
55860.1604561699, 910654.235998404, 957.606
55859.6509795742, 910655.096482917, 957.836
55859.1415029785, 910655.956967431, 957.716
55858.6320263828, 910656.817451945, 958.326
55858.1225497871, 910657.677936459, 958.756
55857.8678114893, 910658.108178716, 959.236
55857.8168638297, 910658.194227167, 959.246