The example of the ASCII file that is used to import and export digitized TerraStereo shapes is shown below:
82 1 0 25497314.768253 6672783.234002 2.917022 0 192 0
82 1 0 25497315.443959 6672783.261783 2.906883 0 192 0
12 2 1 25497317.502050 6672783.772485 2.896018 0 192 255
12 2 1 25497318.151247 6672783.780747 2.881296 0 192 255
12 2 1 25497318.132483 6672784.453892 2.895346 0 192 255
12 2 1 25497317.466816 6672784.410401 2.906331 0 192 255
The columns are:
Code: The measurement code used for a particular feature (not visible in TerraStereo, but is included for compatibility reasons)
Type: The type of the shape. 0=random points, 1 = linestring, 2 = filled polygon, 4 = open polygon
5/6/7 = linear length dxyz/dxy/dz, 8/9 = area 3d/xy, 10 = angle
StringID: The identification key for the particular chain (unique for each shape in the file)
Coordinates: Easting Northing Elevation
Color components in 8 bits [0..255]: Red Green Blue
A generic mapping software can be used to produce the file based on the dgn file geometry, for instance. The TerraSurvey (from v022.001) also supports exporting element listing or existing map into TerraStereo Shape format. In TerraSurvey listing rules one can force the element to the particular shape type by setting the surface-field of the listing rule to the shape type (for instance 10). Otherwise the listed element properties will be used to judge the shape type automatically.