Tscan
Tscan
Tscan
11.09.2014
Page 2
Trademarks
MicroStation, MDL and MicroStation stylized "M" are registered trademarks of Bentley Systems, Incorporated. Bentley Map PowerView, MicroStation PowerDraft, and MicroStation
GeoOutlook are trademarks of Bentley Systems, Incorporated.
TerraBore, TerraGas, TerraLink, TerraMatch, TerraModeler, TerraPark, TerraPhoto, TerraPipe,
TerraScan, TerraSlave, TerraStereo, TerraStreet, and TerraSurvey are trademarks of Terrasolid
Limited.
Windows is a trademark of Microsoft Corporation.
Acrobat Reader is a trademark of Adobe Systems Incorporated.
OSTN02 is a trademark of Ordnance Survey, the national mapping agency of Great Britain.
Intergraph Raster File Formats - Copyright - 1994 Intergraph Corporation. Used with permission.
Copyright
2000-2014 Arttu Soininen, Terrasolid. All rights reserved.
Page 3
Table of Contents
Getting Started
1 Documentation.............................................................................................. 13
About the documentation.................................................................... 13
Accessing the documentation ............................................................. 13
Document conventions ....................................................................... 13
MicroStation documentation .............................................................. 13
2 Introduction to TerraScan .......................................................................... 14
Introduction ........................................................................................ 14
Terra application family ..................................................................... 15
3 Installation .................................................................................................... 16
Hardware and software requirements ................................................. 16
Installation media ............................................................................... 16
Installation from zip file ..................................................................... 17
Installation from CD/USB-Stick ........................................................ 17
4 Starting TerraScan....................................................................................... 19
Starting TerraScan .............................................................................. 19
Unloading TerraScan .......................................................................... 20
Tool Reference
5 Basic Tools .................................................................................................... 22
TerraScan Settings ........................................................................................ 22
Building vectorization / Editing tools................................................. 23
Building vectorization / Levels........................................................... 23
Building vectorization / Model........................................................... 23
Component fitting / Colors ................................................................. 24
Component fitting / Levels ................................................................. 25
Component fitting / Operation............................................................ 25
Component fitting / Profile................................................................. 25
Component fitting / Weights and styles ............................................. 26
Coordinate transformations / Built-in projection systems .................. 26
Coordinate transformations / Transformations................................... 27
Coordinate transformations / US State Planes.................................... 33
Coordinate transformations / User projection systems....................... 34
File formats / Default storage format ................................................. 36
File formats / EarthData binary format............................................... 36
File formats / File name extensions .................................................... 36
File formats / LAS formats ................................................................. 37
File formats / Leica formats................................................................ 37
File formats / Optech formats ............................................................. 37
File formats / User point formats........................................................ 38
File formats / User trajectory formats................................................. 40
Powerlines / Active line...................................................................... 40
Powerlines / Profile layouts ................................................................ 41
Powerlines / Tower functions ............................................................. 43
Powerlines / Tower statuses ............................................................... 43
Page 4
Page 5
Page 6
Page 7
Page 8
Page 10
Page 11
Programming Interface
18 DLL Interface ........................................................................................... 457
19 MDL Public Functions............................................................................. 458
Laser point memory structure........................................................... 458
Calling Method ................................................................................. 459
Function Prototypes .......................................................................... 460
20 File formats ............................................................................................... 477
Point cloud file formats............................................................................... 477
TerraScan binary files....................................................................... 477
Supported file formats ...................................................................... 478
Trajectory file formats ................................................................................ 480
TerraScan trajectory binary files ...................................................... 480
Supported file formats ...................................................................... 481
Additional Information
21 Installation Directories ............................................................................ 483
22 Configuration Variables .......................................................................... 484
Page 12
Getting Started
Page 13
1 Documentation
Documentation
Document conventions
The following conventions and symbols appear in this guide:
Data click - click on the data mouse button, usually the left button on a right-hand mouse.
Reset click - click on the reset mouse button, usually the right button on a right-hand mouse.
< > - angle brackets used for keybord keys, for example, <Return>.
Key in - type a command in the key-in line of MicroStation and then press <Return>.
OR - alternate procedures or steps in a procedure.
C:/TERRA - paths to directories of files on a hard disk are written with capital letters.
Icons used to introduce special information:
Icon:
"
Procedures
When no distinction between MicroStation versions is necessary, this document refers to the
CAD environment simply as "MicroStation".
MicroStation documentation
This document is written under the assumption that the reader knows how to use basic MicroStation features. You should refer to the printed documentation or online help of MicroStation whenever you need information about using the CAD environment.
Page 14
2 Introduction to TerraScan
Introduction to TerraScan
Introduction
TerraScan is a dedicated software solution for processing laser scanning point clouds. It can easily
handle millions of points as all routines are tweaked for optimum performance.
Its versatile tools prove useful for a number of application fields, such as transmission lines, flood
plains, proposed highways, stock piles, forest areas, city models, road and railroad surveying, and
much more.
The application reads points from binary files or text files. It provides tools to:
TerraScan is fully integrated with MicroStation. This CAD environment provides a huge number
of useful tools and capabilities in the areas of view manipulation, visualization, vector placement,
labeling and plotting. A basic understanding of MicroStation usage is required in order to be productive with TerraScan. The more familiar you are with MicroStation, the more benefit you can
get from its huge feature set.
TerraScan Lite
TerraScan Lite is a light version of TerraScan and provides a subset of the functionality of the full
version. It can be used to view point clouds, setup projects, work on loaded points and classify
points manually. It provides all the tools for manual 3D building model editing.
TerraScan Lite does not include automatic classification routines, building vectorization and road
analysis tools.
Page 15
2 Introduction to TerraScan
Page 16
3 Installation
Installation
Installation media
TerraScan may be delivered on a CD/USB-Stick or as a zip file.
A zip package only contains the actual software - it does not include the PDF Users Guide.
A Terra Installation CD/USB-Stick includes the software and the online documentation. When
you install from the CD/USB-Stick, the software and the documentation are copied to your hard
disk. The CD/USB-Stick may include versions for multiple environments. You should locate the
directory which corresponds to your operating system and MicroStation version.
Directory on CD
\setup\eng
For MicroStation
V8 or V8i
Page 17
3 Installation
3.
4.
5.
Check the MicroStation directory. Replace the path if the correct location was not found
automatically.
Click OK to start the installation.
When the installation is finished, a message is displayed.
"
See chapters Installation Directories on page 483 and Configuration Variables on page 484 for
more information.
4.
5.
Check the MicroStation directory. Replace the path if the correct location was not found
automatically.
Alternatively, you can use the Scan button to automatically search the hard disk for the
MicroStation installation or you can use the Browse button to locate the MicroStation
executable yourself.
6.
7.
Check the MicroStation version information in the Version field. Select the correct version
if it was not detected automatically.
Click OK to continue.
This opens another Terra Setup dialog:
8.
9.
"
See chapters Installation Directories on page 483 and Configuration Variables on page 484 for
more information.
Page 19
4 Starting TerraScan
Starting TerraScan
Starting TerraScan
TerraScan is an MDL application that runs within MicroStation.
To start TerraScan:
1.
2.
3.
1.
When the application is loaded, it adds an Applications menu to the MicroStation menu bar and
opens the TerraScan Main window and Main tool box:
"
The Available Applications list shows all MDL applications that MicroStation is able to locate.
MicroStation searches for MDL applications in the directories listed in the MS_MDLAPPS configuration variable. If MicroStation can not find TSCAN.MA, you should check the value assigned to this configuration variable. Make sure the directory path of the TSCAN.MA file is
included in the variable. To view configuration variables, select Configuration command from
the Workspace pulldown menu in MicroStation. See also Sections Installation Directories on
page 483 and Configuration Variables on page 484 for more information.
Page 20
4 Starting TerraScan
Unloading TerraScan
TerraScan is unloaded automatically when you exit MicroStation. Sometimes you may want to
unload the application while continuing to work with MicroStation. This frees up the memory reserved by TerraScan.
To unload TerraScan:
1.
Select MDL Applications command from the Utilities pulldown menu in MicroStation.
The MDL dialog opens:
2.
3.
1.
Page 21
4 Starting TerraScan
Tool Reference
Page 22
5 Basic Tools
Basic Tools
TerraScan Settings
Settings control the way how tools and commands of TerraScan work. They are organized in logical categories. The Settings dialog is opened by the Settings tool.
Settings folder / category:
Building vectorization / Editing tools
Building vectorization / Levels
Building vectorization / Model
Component fitting / Colors
Component fitting / Levels
Component fitting / Operation
Component fitting / Profile
Component fitting / Weights and styles
Coordinate transformations / Built-in projection
systems
Coordinate transformations / Transformations
Coordinate transformations / US State Planes
Coordinate transformations / User projection
systems
File formats / Default storage format
File formats / EarthData binary format
File formats / File name extensions
File formats / LAS formats
File formats / Leica formats
File formats / Optech formats
File formats / User point formats
File formats / User trajectory formats
Powerlines / Active line
Powerlines / Profile layouts
Powerlines / Tower functions
Powerlines / Tower statuses
Powerlines / Tower types
Settings category
Alignment reports
Block naming formulas
Classify Fence tool
Collection shapes
Default coordinate setup
Default flightline qualities
Elevation labels
Loaded points
Operation
Point display
Rail section templates
Road section parameters
Scanner systems
Scanner waveform profiles
Section templates
Target objects
Tree types
Undo buffer
Page 23
5 Basic Tools
Effect:
If on, the Modify Edge tool is activated by default when
other building model modification tools are reset.
Approved models
Effect:
Levels for Roof and Wall polygons if a model is marked for
checking. This is the status after automatic detection.
Levels for Roof and Wall polygons if a model is active. This
is the case if the Check Building Models tool is started and a
model is selected in the list of vector models.
Levels for Roof and Wall polygons if a model has been
approved. This is the status after the model has been checked
and approved.
Roof
Roof sides
Walls
Effect:
Tolerance of elevation value variation in the ground around
the building.
Distance between the ground level and the start of walls
below the ground.
Distance between upper and lower level of the roofs. If the
value is 0.0, the roof planes are represented by single
polygons.
Color of roof polygons.
Color of roof side polygons. This is ignored if Roof
thickness is set to 0.0.
Color of wall polygons.
Page 24
5 Basic Tools
Effect:
Color of fitted arc elements.
Color of fitted clothoid elements.
Color of fitted line elements.
Color of fitted highlighted elements.
Color of fitted temporary elements.
Color of horizontal alignment elements.
Color of vertical alignment elements.
Color of label elements.
Color of the final 3D shape.
The arrow button next to the color values opens a Select color dialog. The dialog lets you define
a color for the corresponding elements by either typing color values, moving sliders or selecting
a color in a color field. The dialog contains two color models, RGB (Red Green Blue) and HSV
(Hue Saturation Value).
Page 25
5 Basic Tools
Effect:
Level for drawing the surveyed horizontal alignment
elements.
Level for drawing the fitted horizontal component elements.
Level for drawing the point weight values for horizontal
elements.
Level for drawing the frame of the profile that displays the
geometry fitting elements.
Level for drawing the surveyed vertical alignment elements.
Level for drawing the fitted vertical component elements.
Level for drawing the point weight values for vertical
elements.
Level for drawing the final 3D shape.
Button to enforce the level assignment to already existing
component fitting elements.
Effect:
Scale factor for horizontal elements.
Scale factor for vertical elements.
Grid size for elevation values.
Size of a margin around the profile.
Number of decimals for station value labels.
Number of decimals for geometry component value labels.
Size of text elements. Given in millimeters plotted on paper.
Font type of text elements. Uses a list of fonts available in
MicroStation.
Page 26
5 Basic Tools
Effect:
Line weight of component fitting elements.
Line weight of highlighted elements.
Line style of highlighted elements.
Line weight of preview elements.
Line style of preview elements.
Effect:
If on, transformation to LB72/BEREF2003 can be applied.
Page 27
5 Basic Tools
Linear transformation
Equation transformation
Known points transformation
Xy multiply transformation
3D translate & rotate transformation
3D Affine transformation
Projection change transformation
3.
4.
Type a Name for the transformation and select a transformation Type. Define the other settings depending on the transformation type.
Close the Settings dialog in order to save the modified settings for TerraScan.
Linear transformation
Linear transformation scales and/or translates coordinate values. You can assign a coefficient
and a constant offset for each coordinate axis. The target coordinates are computed by multiplying
the original coordinates with the given coefficient and by adding a given constant value.
Setting:
Multiply by - X
Multiply by - Y
Multiply by - Z
Add constant - X
Add constant - Y
Add constant - Z
Effect:
Coefficient for multiplying the easting coordinate.
Coefficient for multiplying the northing coordinate.
Coefficient for multiplying the elevation coordinate.
Value to add to the easting coordinate.
Value to add to the northing coordinate.
Value to add to the elevation coordinate.
Page 28
5 Basic Tools
Equation transformation
Equation transformation lets you define mathematical equations for computing new easting,
northing, and elevation values from the source easting, northing, and elevation coordinates. You
can also enter equations for up to six intermediate variables which are computed in order V1, V2,
..., V6 before evaluating new coordinates X, Y and Z.
Setting:
V1, V2, ..., V6
X, Y, Z
Effect:
Optional equations for calculating intermediate variables
V1, V2, V3, V4, V5, and V6.
Equations for calculating the easting, northing, and
elevation coordinates. The mathematical equation may
contain:
Sx - survey file X coordinate.
Sy - survey file Y coordinate.
Sz - survey file Z coordinate.
Intermediate variables V1, V2, V3, V4, V5, and V6.
Mathematical functions such as sin(a), cos(a), tan(a),
exp(a), log(a), log10(a), pow(a,b), sqrt(a), ceil(a), fabs(a)
and floor(a) where a and b are floating point values.
Page 29
5 Basic Tools
Setting:
Survey X, Y, Z
X, Y, Z
Design X, Y, Z
X, Y, Z
Effect:
First known point in the original coordinate system.
Second known point in the original coordinate system.
First known point in the target coordinate system.
Second known point in the target coordinate system.
Xy multiply transformation
Xy multiply applies a transformation using equations:
NewX = dx + a * Sx + b * Sy
NewY = dy + c * Sx + d * Sy
NewZ = dz + e * Sz
where dx, dy, dz, a, b, c, d, and e are constant parameters of the transformation and Sx, Sy, Sz are
the original (survey) coordinates. This is often used as 2D Helmert type of transformation.
Page 30
5 Basic Tools
Setting:
Dx, Dy, Dz
Ox, Oy, Oz
Rx, Ry, Rz
Effect:
Values to add to X, Y, Z coordinates.
X, Y, Z coordinates of the rotation center point.
Rotation angle in radians around X, Y, Z axes.
3D Affine transformation
3D Affine applies separate translation, rotation and scaling for each coordinate axis. The transformation is defined by equations:
NewX = dx + (1.0 + mx) * X + rz * Y - ry * Z
NewY = dy + (1.0 + my) * Y - rz * X + rx * Z
NewZ = dz + (1.0 + mz) * Z + ry * X - rx * Y
where dx, dy, dz, mx, my, mz, rz, ry, and rz are constant parameters of the transformation and
X, Y, Z are the original coordinates.
Page 31
5 Basic Tools
Setting:
Dx, Dy, Dz
Mx, My, Mz
Rx, Ry, Rz
Effect:
Values to add to X, Y, Z coordinates (translation).
Factors to scale the data along the X, Y, Z axes.
Rotation angle in radians around X, Y, Z axes.
Setting:
From
To
Effect:
Source projection system.
Target projection system.
Page 32
5 Basic Tools
Setting:
Modify
"
Effect:
Coordinate values to modify:
Xyz - modifies all coordinates.
Xy only - no changes to elevation values.
You can copy transformations from one Terra application to another. Select the transformation in
the Settings dialog and click on the Copy button to copy the definition to the clipboard. Click on
the Paste button in the other Terra application to paste the definition.
Deriving a transformation
You can also derive transformation parameter values from point pairs. This requires that identical
control points (point pairs) are available in source and target coordinate values. The points must
be stored in text files. The number of required control point pairs depends on the transformation
type.
To derive a transformation, click on the Derive button in the Settings dialog. This opens the Derive transformation from points dialog:
Setting:
Type
Use
Source
Target
Effect:
Type of the derived transformation:
2D transformation - parameter values for a 2D Helmert
transformation are derived.
3D translate & rotate - parameter values for a 3D
translation and rotation transformation are derived.
7 parameter affine - parameter values for a 3D affine
transformation (7 parameters) are derived.
9 parameter affine - parameter values for a 3D affine
transformation (9 parameters) are derived.
Points used for deriving the transformation:
All point pairs - uses all control point pairs.
Inside source fence only - points inside a fence in the
source coordinate system are used.
Inside target fence only - points inside a fence in the
target coordinate system are used.
Text file that contains the point pair coordinates in the
source system.
Text file that contains the point pair coordinates in the target
system.
The transformation derivation can be tested by using the Test button. This computes the parameter
values and displays the result in a report window. To create the transformation, click on the Create button. This opens the Transformation dialog that displays the derived parameter values.
Type a Name for the transformation and click OK in order to add the transformation to the list in
the Settings dialog.
Page 33
5 Basic Tools
Page 34
5 Basic Tools
Open the User projection systems category in the Coordinate transformations folder.
Click Add in the Settings dialog.
This opens the Projection system dialog:
3.
4.
5.
Setting:
Name
Semi-major axis
Effect:
Descriptive name for the projection system.
Semi-major axis of the target ellipsoid.
Page 35
5 Basic Tools
Setting:
Inverse flattening
Shift X
Shift Y
Shift Z
Rotation X
Rotation Y
Rotation Z
Scale correction
Projection type
Origin longitude
Origin latitude
False easting
False northing
Scale factor
Unit
"
Effect:
Inverse flattening of the target ellipsoid.
Datum X shift from WGS84 to the target system in meter.
Datum Y shift from WGS84 to the target system in meter.
Datum Z shift from WGS84 to the target system in meter.
Datum rotation around the X axis in arc seconds.
Datum rotation around the Y axis in arc seconds.
Datum rotation around the Z axis in arc seconds.
Datum scale correction as parts per million. The actual scale factor
is computed as 1.0 + (0.000001 * ScaleFactor).
Type of the projection system: Transverse Mercator/GaussKruger, Lambert conic conformal, or Hotine oblique
mercator.
Longitude of the true origin in decimal degrees.
Latitude of the true origin in decimal degrees.
Map coordinate easting of the true origin.
Map coordinate northing of the true origin.
Scale factor on the central meridian.
Distance unit: Meter, International foot, US Survey Foot, or
International yard.
You can copy user projection systems from one Terra application to another. Select the system in
the Settings dialog and click on the Copy button to copy the definition to the clipboard. Click on
the Paste button in the other Terra application to paste the definition. You can also paste the definition in a text editor in order to save it into a text file.
Page 36
5 Basic Tools
Time type
Effect:
Default format for laser data: EarthData EEBN,
EarthData EBN, Fast binary, LAS 1.0, LAS 1.1, LAS 1.2,
Scan binary 16 bit lines, or Scan binary 8 bit lines.
Default format for storingtime stamps of laser points: GPS
seconds-of-week, GPS standard time
Effect:
Extension for plain xyz text files. Default is xyz.
Extension for text files containing point class and
coordinates. Default is txt.
Extension for 8-bit/16-bit binary files in TerraScan format.
Default is bin.
Extension for binary files in EarthData format. Default is
ebn.
Extension for files in TerraScan fast binary format. Default
is fbi.
Extension for binary files in LAS format. Default is las.
Page 37
5 Basic Tools
Effect:
Bit depth of color values in the LAS file:
Low 8 bits - color values are stored as 8 bit values.
Low 12 bits - color values are stored as 12 bit values.
Correct 16 bits - color values are stored as 16 bit values.
This is the correct value according to the LAS standard
format definition.
Set the value to Low 8 bits or Low 12 bits if your read or import LAS files with incorrect color
values. Set the value to Correct 16 bits in order to store color values correctly.
Effect:
Reading intensity of Leica LDI files: Raw intensity or
Normalized intensity.
Less than
Effect:
Factor for scaling intensity values.
Defines which value is used as last echo: First xyz, Second
xyz, or Lower xyz.
If on, TerraScan filters out first echoes from Optech
xyzxyzii type files based on the elevation difference of the
first and last echo.
First echos less than the given elevation difference above the
corresponding last echo are ignored.
Page 38
5 Basic Tools
Open the User point formats category in the File formats folder.
Click Add in the Settings dialog.
The File format dialog opens:
3.
(Optional) Select Load example command from the File pulldown menu of the File format dialog.
This reads the first lines of the text file and shows its content in the field list. The software
also tries to detect the Field type and the Delimiter.
4.
5.
6.
7.
8.
If required, change the number of fields that are available in the dialog by using the commands from View pulldown menu.
Type a Format name and define the other settings.
Select the correct attribute for a field. The list of attributes is displayed when you click on
the No field button.
Click OK to the File format dialog.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Format name
Effect:
Descriptive name of the new format.
Page 39
5 Basic Tools
Setting:
Use for
Field type
Delimiter
Comment char
Degree format
No field
Prepend file
Append file
"
Effect:
Defines the usage of the format:
Input only - files of this format can be loaded into
TerraScan using the Read points command or the Load
Airborne Points tool.
Output only - files of this format can be saved into new
text files using the Save points As command.
Input and output - files of this format can be loaded into
TerraScan and saved into new text files.
Defines fields are separated in the text file: Delimited or
Fixed length.
Delimeter character used in text files: Space, Tabulator,
Comma, or Semicolon. This is only active if Field type is
set to Delimited.
Character that introduces comment lines in the text file.
Lines beginning with this character are ignored when points
are read from a text file.
Defines the format of longitude and latitude values in
degrees, minutes, and seconds. This is only active if
Longitude or Latitude are selected as attributes.
Selection of what point attribute is stored in the field:
No field - no field defined in the text file.
Ignore - the column in the text file is ignored.
Easting, Northing, Elevation - xyz coordinates.
Longitude, Latitude - position in degrees, minutes, and
seconds.
Class - class number.
Code - class code.
Echo type - echo type as text string.
Index - unique number for each point.
Intensity - intensity value as integer.
Line - line number.
Time - time stamp.
Collection - number of collection shape. Only used with
Output collections command for projects.
Surface dz - difference between a point and a
TerraModeler surface.
Red, Green, Blue - RGB color values.
Echo number - echo number as number.
Number of echos - total number of echos at the position
of a point.
Mirror angle - scan angle in degrees. Values must range
between -128 to +127.
Scanner - scanner number.
Location of a text file from which the content is added at the
beginning of an output file. This is not active if Use for is set
to Input only.
Location of a text file from which the content is added at the
end of an output file. This is not active if Use for is set to
Input only.
There are some text file format already implemented in TerraScan. See Supported file formats
on page 478 for a list of implemented file formats. User point formats are stored in a configuration
file OUTFMT.INF in the TerraScan installation folder. You can copy this file to other computers
in order to make point formats available on them.
Page 40
5 Basic Tools
No field
"
Effect:
Defines the usage of the format:
Input only - files of this format can be loaded into
TerraScan using the Import files command from the
Manage Trajectories dialog.
Output only - files of this format can be saved into new
text files using the Output positions command from the
Manage Trajectories dialog.
Input and output - files of this format can be loaded into
TerraScan and saved into text files.
Selection of what trajectory position attribute is stored in the
field:
No field - no field defined in the text file.
Ignore - the column in the text file is ignored.
Time - time stamp.
Easting, Northing, Elevation - xyz coordinates.
Longitude, Latitude - position in degrees, minutes, and
seconds.
Heading, Roll, Pitch - orientation angles.
X|Y|Z accuracy - accuracy estimates for xyz position
values.
Heading|Roll|Pitch accuracy - accuracy estimates for
orientation angle values.
Trajectory formats are stored in a configuration file TRAJFMT.INF in the TerraScan installation
folder. You can copy this file to other computers in order to make trajectory formats available on
them.
Effect:
Parts of the line string that are highlighted: No hilite,
Vertices, or Line segments.
Color of a highlighted line string. Uses the active color table
of MicroStation.
Line weight of a highlighted line string. Uses MicroStation
line weights.
Line style of a highlighted line string. Uses MicroStation
line styles.
Page 41
5 Basic Tools
3.
4.
5.
6.
Effect:
Text used as first line of a title in the bottom row.
Text used as second line of a title in the bottom row.
Height of the bottom row. Given in millimeters on paper.
Page 42
5 Basic Tools
Setting:
Content
Effect:
Defines the type of information displayed in the bottom row:
Surface elevations - elevations of surfaces of the given
Surface type.
Stationing - stations along the alignment element of the
profile.
Crossing object stationing - station along the alignment
element where another object crosses the powerline.
Tower span
Tower turn angle
Other - space reservation for any other content that can be
added manually.
If on, vertical lines are drawn on the left and right side of the
bottom row.
If on, a horizontal line is drawn below the bottom row using the
given symbology.
Page 43
5 Basic Tools
"
"
Tower statuses are stored in a configuration file TOWER_STATUSES.INF in the TerraScan installation folder. You can copy this file to other computers in order to make tower statuses available on them.
Page 44
5 Basic Tools
3.
4.
Effect:
Abbreviation of the tower type.
Description of the tower type.
Height of a tower.
List of cross arms for this tower type. Use buttons next to the
list to Add, Edit, and Delete cross arms.
List of attachments per cross arm. Select a cross arm and use
buttons next to the list to Add, Edit, and Delete cross arms.
Click Add in the Tower type dialog in order to add a cross arm.
Page 45
5 Basic Tools
5.
6.
7.
Effect:
Number of the cross arm.
Description of the cross arm.
Position of the cross arm relative to the top of the tower.
Length of the cross arm to the left side of the tower.
Length of the cross arm to the right side of the tower.
Repeat steps 4 and 5 for all cross arms that belong to this tower type.
Select a cross arm and click Add in the Tower type dialog in order to add an attachment to
the selected cross arm.
This opens the Tower type attachment dialog:
8.
Length
Effect:
Number of the attachment.
Description of the attachment.
Position of the attachment along the cross arm relativ to the
tower center. A positive offset creates an attachment right of
the tower center, a negative offset left of the tower center.
Length of the attachment.
9. Repeat steps 7 and 8 for all attachments per cross arm and all cross arms of the tower type.
10. Click OK to the Tower type dialog.
11. Close the Settings dialog in order to save the modified settings for TerraScan.
The values defined for the tower height as well as position and length of cross arms and attachments do not have to be exact if towers are placed with the Place Tower tool using no template.
For placing towers using templates the accuracy of the values determine how well a template fits
to the real towers design.
Page 46
5 Basic Tools
It is recommended to enter a text in the Description fields of Tower type and Tower type cross
arm dialogs, because the editing tools for powerline processing refer to this field. The other descriptive information is mainly used in reports. See chapter Powerlines on page 118 for more information about powerline processing.
"
Tower types are stored in a configuration file TOWER_TYPES.INF in the TerraScan installation
folder. You can copy this file to other computers in order to make tower types available on them.
Page 47
5 Basic Tools
Alignment reports
Alignment reports category contains a list of alignment report formats. The formats are used by
the Output alignment report command. The report format defines what information is included
in the output report along an alignment element. It consists of a descriptive name and a list of columns.
3.
4.
5.
6.
7.
8.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Title
Effect:
Title of the report column.
Page 48
5 Basic Tools
Setting:
Data
Offset
"
Effect:
Content of the report column:
Alignment station - station value along an alignment
element.
Alignment easting - easting coordinate at stations along the
alignment element.
Alignment northing - northing coordinate at stations along
the alignment element.
Alignment elevation - elevation coordinate at stations along
the alignment element.
Interval elevation - minimum or maximum Elevation of
laser points in a given Class. A rectangular search area is
defined by the offset left and right of the alignment station
given in the Within field and the interval step size along the
alignment element given at report output time.
Point elevation - closest, minimum, average, or maximum
Elevation value from laser points in a given Class inside a
circular area. The center of the circular area is at the given
Offset from the alignment station, the size is determined by
the Radius value.
Surface elevation - elevation value of a surface model in
TerraModeler. This requires at least on surface model in
TerraModeler. The elevation value is computed from the
selected Surface type at the x and y location of the alignment
station plus the given Offset value.
Column difference - computes the difference between two
other Columns of the report.
Alert - writes an asterisk character (*) in the report if the
difference between two columns is bigger or smaller than a
given limit.
Distance from the alignment element. The Data value is
determined from the location defined by the alignment station
and the offset. A negative offset is left, a positive offset right of
the alignment element.
Alignment report formats are stored in a configuration file ALREPFMT.INF in the TerraScan installation folder. You can copy this file to other computers in order to make alignment report formats available on them.
Page 49
5 Basic Tools
3.
4.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Description
Format
Append
"
Effect:
Description of the formula.
Format of the formula.
Opens the Append field dialog. The dialog contains a list of
variables which can be added to a formula:
minimum | maximum easting | northing - minimum or
maximum values of easting or northing corner
coordinates of a block boundary.
block size - block height or width value, whatever is
larger.
block number - number according to the selection order
of block boundaries.
Block naming formulas are stored in a configuration file BLOCKNAMING.INF in the TerraScan
installation folder. You can copy this file to other computers in order to make block naming formulas available on them.
Effect:
Color of the fence. Uses the active color table of MicroStation.
Line weight of the fence. Uses MicroStation line weights.
Line style of the fence. Uses MicroStation line styles.
Page 50
5 Basic Tools
Collection shapes
Collection shapes category shows a list of collection shape types. Collection shapes can be used
to group laser points. Typical collection shape type examples are building, road, or tree. The actual
grouping is done by placing collection shapes with the Place Collection Shape tool. The collection
shape type determines what kind of an object the polygon encloses as well as the level and the
symbology of the polygon.
Collection shapes can be further used to output laser points into separate files according to the collection or group they belong to. See Output collections command from the Tools pulldown
menu of the TerraScan Project window.
You can Add, Edit, and Delete collection shape types by using the corresponding buttons in the
Settings dialog.
3.
4.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Name
Level
Color
Weight
Style
"
Effect:
Name of the collection shape type.
Level on which collections shapes are placed.
Color of collections shapes. Uses the active color table of
MicroStation.
Line weight of collection shapes. Uses MicroStation line
weights.
Line style of collection shapes. Uses MicroStation line
styles.
Collection shapes are stored in a configuration file COLLECTION_SHAPES.INF in the TerraScan installation folder. You can copy this file to other computers in order to make collection shape
definitions available on them.
Page 51
5 Basic Tools
Effect:
Default integer steps per master unit in a design file used by
Terra applications. This effects the number of decimals stored
for laser points in TerraScan.
Default easting coordinate of the origin in the design file.
Default northing coordinate of the origin in the design file.
Default elevation coordinate of the origin in the design file.
Effect:
Flightline number range with Bad quality tag.
Flightline number range with Poor quality tag.
Flightline number range with Normal quality tag.
Flightline number range with Good quality tag.
Flightline number range with Excellent quality tag.
Elevation labels
Elevation labels category defines the format of elevation values drawn as text elements. The settings are used if points are drawn into the design file using the Write to design file command and
if the points are drawn as Elevation labels which is set in the Define Classes dialog.
Setting:
Accuracy
Display plus
Display minus
Effect:
Number of decimals to display for elevation values.
If on, positive elevation values start with a plus sign.
If on, negative elevation values start with a minus sign.
Loaded points
Loaded points category defines the symbology for highlighting points in TerraScan. It is used,
for example, if the location of several selected points is shown by using the Show location button
in the TerraScan Main window.
Setting:
Hilite
Effect:
Color and line weight for the rectangles drawn around
selected points. Uses the active color table of MicroStation
and MicroStation line weights.
Page 52
5 Basic Tools
Operation
Operation category defines actions performed when TerraScan is loaded.
Setting:
Create Applications menu
Effect:
If on, an Applications pulldown menu is added to the
MicroStation menu. It contains items for opening TerraScan
toolsets and its Main window.
If on, the TerraScan Main window is opened.
If on, the TerraScan Main tool box is opened.
If on, the MicroStation AccuDraw is closed.
Maximum amount of threads used for TerraScan processing.
Normally, you should set this to the number of processor
cores on your computer. The default setting is 2.
Point display
Point display category determines how points in TerraScan are drawn on the screen. It also defines whether coloring schemes for elevation and intensity coloring are fitted automatically to
loaded points or not.
Setting:
Draw as
Weight
Speed
Use depth
Effect:
Method of drawing points on the screen:
Points - points are drawn as true 3D elements on the
screen. The display order within the point cloud and
compared with vector elements in the design file depends
on the true point and element coordinates.
Raster - points are drawn as raster pixels on the screen.
The point cloud is always drawn in the background of
vector elements in the design file.
Default size of points on the screen. Uses MicroStation line
weights.
Default speed for point display:
Fast - sparse points - amount of displayed points
depends on the viewing distance. The more you zoom out
in a MicroStation view the less points are drawn.
Normal - all points - all points are drawn independently
of the viewing distance.
Slow - all points are drawn slowly. Applies only if points
are colored by flightline number.
If on, a point is drawn if it is closest to the viewer compared
with all other points falling in the same screen pixel. Not
MicroStation V8i
Fit automatically
Page 53
5 Basic Tools
(Optional) Draw the rail section into a design file and select it.
Open the Rail section templates category.
Click Add in the Settings dialog.
The Rail section template dialog opens:
If a section drawing has been selected, the section definition is shown in the dialog.
4.
5.
5.
Select a line in the list of section elements and click Edit in the Rail section template dialog in order to edit an existing element of the section.
The Rail section line dialog opens:
Page 54
5 Basic Tools
6.
7.
8.
9.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Type
Weight
Start X | Y
End X | Y
Position X | Y
"
Effect:
Type of the rail section line:
Horizontal - horizontal line as part of the rail section. Used
to find the Z location of a rail in automatic rail detection.
Vertical - vertical line as part of the rail section. Used to find
the XY location of a rail in automatic rail detection.
Void - line that indicates a location without laser data close to
rails.
Alignment - location of linear vector elements that are drawn
in automatic rail vectorization.
Weight of a rail section line: Low, Medium, or High. A line
with higher weight takes priority over lines with lower weights
in automatic rail detection. This is only active if Type is not set
to Alignment.
Start and end point coordinates of a rail section line. Given in the
rail sections coordinate system. The origin of the system (0,0)
should be in the center of the rail section. This is only active if
Type is not set to Alignment.
Location of an alignment element. Given in rail sections
coordinates. This is only active if Type is set to Alignment.
Rail section templates are stored in a configuration file RAIL_SECTIONS.INF in the TerraScan
installation folder. You can copy this file to other computers in order to make rail section templates available on them.
Page 55
5 Basic Tools
Effect:
Design file level on which the different road section parameters
are drawn.
Color of the different road section parameters. Users the active
color table of MicroStation.
Size of text elements that are drawn for the different road section
parameters.
Unit for expressing the different road section parameter values.
Slopes can be expressed in Degree or Percentage, other
parameters can be expressed in Master units of the design file
or in Millimeters on paper.
Page 56
5 Basic Tools
Scanner systems
Scanner systems category shows a list of scanner system configurations. A scanner system can
include several scanners where each scanner has its own lever arm definition. The system definition also defines the misalignment between the IMU and the scanner system.
In addition, each scanner in a system can contain a link to a waveform profile. See Scanner
waveform profiles for more information.
The scanner system number must be unique. It is used to establish a link between a scanner system
and trajectory files.
You can Add, Edit, and Delete scanner systems by using the corresponding buttons in the Settings dialog. You can Add, Edit, and Delete scanners by using the corresponding buttons in the
Scanner system dialog.
The lever arm of a scanner describes the distance between the IMU and the scanner. It is expressed
as X, Y, and Z components of a vector. The direction of the three vector components is as follows:
X - positive values to the right, negative to the left.
Y - positive values forward, negative backward.
Z - positive values up, negative down.
3.
4.
5.
Page 57
5 Basic Tools
6.
7.
8.
9.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Scanner number
Lever arm X | Y | Z
Waveform profile
"
Effect:
Number of the scanner. Must be unique within a system.
X, Y, and Z component of the lever arm vector between IMU and
the scanner.
Waveform profile linked to the scanner.
Page 58
5 Basic Tools
Use Manage Trajectories tool and commands from the Trajectories dialog in order to
import and manage trajectories, and to link the trajectories with the waveform files.
Load points into TerraScan.
Classify points in sample areas that are suited for creating the scanner waveform profile.
Open the Scanner waveform profiles category.
Click Add in the Settings dialog.
The Scanner waveform profile dialog opens:
6.
7.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Unique id
Name
Hard surface
"
Effect:
Number of the waveform profile. Must be unique in the list
of scanner waveform profiles.
Name of the waveform profile.
Laser point class that the software uses to extract the
waveform profile. Uses the active class definitions in
TerraScan.
Page 59
5 Basic Tools
Section templates
Section templates category shows a list of cross section templates. Section templates may represent, for example, clearance areas or tunnel sections. They can be used for the classification of
laser points with the By section template routine.
A section template is defined by the outline of the section and its origin point. The outline must
be drawn into a design file top view using correct measures. If the section is used in a classification
step, it is aligned to an element by using the origin point.
You can Add, Edit, and Delete section templates by using the corresponding buttons in the Settings dialog.
Draw the outline of the cross section as closed shape in a MicroStation top view.
(Optional) Draw a line with one end point at the position of the alignment point relative to
the cross section shape.
Open the Section templates category.
Click Add in the Settings dialog.
Select the outline of the section with a data click.
Define the origin point of the section. If you created an element that represents the origin
point, snap to the element in order to define the correct location.
The Tunnel section dialog opens:
7.
8.
9.
"
Section templates are stored in a configuration file SECTION_TEMPLATES.INF in the TerraScan installation folder. You can copy this file to other computers in order to make section templates available on them.
Page 60
5 Basic Tools
Target objects
Target objects category shows a list of target object definitions. Target objects are normally used
for matching point clouds of terrestrial laser scanners. Supported shape primitives of target objects
include ball, cone, and pyramid.
A target object may represent the location of a control point for which the coordinate values are
known.
You can Add, Edit, and Delete target objects by using the corresponding buttons in the Settings
dialog.
3.
4.
Close the Settings dialog in order to save the modified settings for TerraScan.
Setting:
Description
Type
Radius
Depth
Width
Height
A distance
B distance
H distance
"
Effect:
Description of the target object.
Shape primitives: Ball, Cone, or Pyramid.
Radius of the ball or cone.
Depth of a cone or pyramid.
Width of a pyramid.
Height of a pyramid.
Distance from the target objects center point to the known
control point location along the xy line from scanner to
object.
Distance from the target objects center point to the known
control point location perpendicular to xy line from scanner
to object.
Elevation difference from the target objects center point to
known control point location.
Target objects are stored in a configuration file TARGETS.INF in the TerraScan installation folder. You can copy this file to other computers in order to make target object definitions available
on them.
Page 61
5 Basic Tools
Tree types
Tree types category shows a list of tree types. A tree type is defined by the shape of the tree crown
cross section and additional parameters. The tree type definitions are used in automatic tree detection from laser points with the Detect trees command.
You can Add, Edit, and Delete tree typed by using the corresponding buttons in the Settings dialog.
2.
3.
4.
5.
6.
Page 62
5 Basic Tools
Setting:
Name
Cell
RPC cell
Min height
Max height
Top is
Width variation
"
Effect:
Name of the tree type.
Name of a MicroStation cell that is drawn into the design file
when trees are detected.
Name and location of a RPC cell file that is used in rendered
views to replace detected trees.
Minimum height of a tree.
Maximum height of a tree.
Distance between highest hit on the tree in laser points and
the tree top of the tree cells.
Variation of tree crown width for the tree type. Given in
percent.
Tree types are stored in a configuration file TREE_TYPES.INF in the TerraScan installation folder. You can copy this file to other computers in order to make tree type definitions available on
them.
Page 63
5 Basic Tools
Undo buffer
Undo buffer category defines how much memory the application allocates for its undo buffer.
The setting effects the amount of steps that can be undone with Undo or From list commands.
The recommended value range is 16 - 64 MB.
Page 64
5 Basic Tools
To:
Use:
Settings
Define Classes
Define Project
Manage Trajectories
About TerraScan
Help on TerraScan
Page 65
5 Basic Tools
Settings
Settings tool lets you change a number of settings that control the way how TerraScan works. Selecting this tool opens the TerraScan settings dialog:
The settings are grouped into logical categories. Selecting a category in the list displays the appropriate controls next to the category list.
The different categories and related settings are described in detail in Section TerraScan
Settings.
Page 66
5 Basic Tools
2.
"
Since Terra Applications version 009.00x these MicroStation versions are no longer supported.
Page 67
5 Basic Tools
Page 68
5 Basic Tools
Define Classes
Define Classes tool opens a dialog for managing point classes and related drawing rules.
A point class definition includes descriptive information for the class, such as a unique number,
code, and description, and rules for displaying the point on the screen or drawing it into the design
file.
TerraScan provides a default class definition file TSCAN.PTC which is stored in the TerraScan
installation folder. You can Add, Edit, and Delete point classes by using the corresponding buttons in the Point classes dialog.
You can create a New empty class definition file, Open an existing file, Save changes to an existing file, and Save class definitions as a new file by using the corresponding commands from the
File pulldown menu of the Point classes dialog. The class definitions are saved into files with the
default extension .PTC. Usually, there are different class definition files for different project
types. If TerraScan is loaded, the last-used class definition file is still active.
The dialog contains a list of all point classes in the active class list.
2.
3.
4.
Select Save or Save as from the File pulldown menu in order to save the class definitions
Page 69
5 Basic Tools
into a file.
Setting:
Number
Code
Description
Color
Weight
Draw
Level
Character
Font
Size
Justify
Dx
Dy
Diameter
Style
"
Effect:
Unique number of the point class.
Code of the point class. The code is a text string which can include any
kind of characters.
Descriptive name of the class.
Color for displaying points of the class. Uses the active color table of
MicroStation.
Size for displaying points of the class. Uses MicroStation line
weights.
Element type used for drawing points of the class permanently into the
design file.
Level on which point of the class are drawn permanently into the
design file.
Character used for drawing points permanently into the design file.
This is only active if Draw is set to Character.
Font type used for drawing points permanently into the design file.
Uses MicroStation font types. This is only active if Draw is set to
Character or Elevation text.
Size of the text used for drawing points permanently into the design
file. This is only active if Draw is set to Character or Elevation text.
Justification of the text relative to the original point. Uses
MicroStation justification options for text elements. This is only
active if Draw is set to Elevation text.
Offset in X direction between the original point and the origin point
of the text element. This is only active if Draw is set to Elevation
text.
Offset in Y direction between the original point and the origin point
of the text element. This is only active if Draw is set to Elevation
text.
Diameter of a circle used for drawing points permanently into the
design file. This is only active if Draw is set to Circle.
Style of the outline of a circle for drawing points permanently into the
design file. Uses MicroStation line styles. This is only active if Draw
is set to Circle.
Since point class definitions are stored in a text file format, you can edit the file in a text editor as
well. This may be useful if you need to copy classes and drawing rules from one class list to another.
Page 70
5 Basic Tools
2.
3.
(Optional) Load points from the whole project area into TerraScan using Read points
command or Load Airborne Points tool. Load only a subset of points if the project area is
too big to load all points.
Use MicroStation or TerraScan tools to digitize line elements around your project area and
to separate the project area into smaller parts.
Select the Design Block Boundaries tool.
This opens the Design Block Boundaries dialog:
4.
5.
If the amount of points per block is not within the given limits, modify the line work. Run
the Design Block Boundaries tool again in order to update the shapes and labels. Continue
until the point counts are within the limits.
6.
Continue with the Define Project tool in order to add the shapes as block boundaries to a
project.
Page 71
5 Basic Tools
Setting:
Start from
Line level
Shape level
Label level
Load every
Minimum count
Maximum count
Good count
Bad count
Effect:
Elements that are used to create block boundaries:
Bounding line work - line elements that form closed areas.
Shapes already drawn - already existing shape elements.
Design file level on which the line elements are drawn. This is only
active if Start from is set to Bounding line work.
Design file level on which the shape elements are drawn. The
shapes are created if Start from is set to Bounding line work.
Design file level on which text elements are drawn. The texts show
the amount of points inside a shape area if points are loaded in
TerraScan.
Indicates the subset of points that is loaded into TerraScan. This is
ignored if no points are loaded.
Minimum amount of points accepted in one project block.
Rounded to million points.
Maximum amount of points accepted in one project block.
Rounded to million points.
Display color of a label for shape areas, where the amount of points
is within the given Minimum and Maximum count values. Uses
the active color table of MicroStation.
Display color of a label for shape areas, where the amount of points
is outside the given Minimum and Maximum count values. Uses
the active color table of MicroStation.
Page 72
5 Basic Tools
Define Project
Define Project tool opens the TerraScan Project window. The window displays the active project
and contains menu commands for handling TerraScan projects.
The main benefits of organizing point cloud data in a project are:
The project definition divides a large data set into smaller parts which are easy to manage.
Each part should contain an amount of points that can be loaded into memory and still allow
processing of the points.
When points are imported into a project, the application automatically divides the large point
cloud into geographical regions (called blocks in TerraScans terminology). This is required
because raw laser data is often provided in flightline order while some classification routines
and other processing steps rely on geographical regions.
You can run macros that process the data of all or selected blocks of a project. You can also
start other processing routines from the Project window. This is essential for the automated
processing of large point cloud data sets.
TerraScan projects can be directly used in TerraStereo, Terrasolids software for advanced
visualization of huge point clouds in mono and stereo mode.
If there is an active project in TerraScan, the title bar of the window displays the name of the project. Further, the window shows the list of blocks that belong to the project. For each block, the
name and the amount of points in the file are displayed.
The menu commands of the Project window are described in detail in Chapter Working with
Projects on page 317.
Page 73
5 Basic Tools
Manage Trajectories
Manage Trajectories tool opens the TerraScan Trajectories window. The window displays the
active trajectories and contains menu commands for handling trajectory information in TerraScan.
Trajectory information is required by the following processing steps:
Cut overlap menu command for identifying points from overlapping flightlines.
Adjust laser angles menu command for applying heading, roll, and pitch corrections to laser
data.
TerraMatch tools for fixing mismatch in laser data.
If there are active trajectories in TerraScan, the title bar of the window displays the active trajectory folder. Further, the window shows the list of trajectory files that are stored in the active trajectory folder.
The menu commands of the Trajectory window are described in detail in Chapter Manage
Trajectories on page 356.
Page 74
5 Basic Tools
About TerraScan
About TerraScan tool opens a dialog which shows information about TerraScan and about the license.
From this dialog, you can open the License information dialog:
Use the Request license button to start the online registration for node-locked licenses.
More information about license registration is available on the Terrasolid web pages: www.terrasolid.com/registration.php.
Help on TerraScan
Help on TerraScan tool launches Acrobat Reader for accessing this Users Guide in PDF format.
The PDF must be stored in the /DOCS folder of your Terra Software installation directory.
If you installed TerraScan in the default directory C:\TERRA, the Users Guide must be stored in
C:\TERRA\DOCS\TSCAN.PDF.
The PDF has hypertext links built in, so you can jump between topics by clicking on the topic
names highlighted in green color.
Accessing the PDF also requires that you have the Acrobat Reader installed on your computer.
The software looks for a file named ACRORD32.EXE. If the file can not be found, you are asked
to locate the file on the hard disk manually.
Page 75
5 Basic Tools
To:
Use:
Move Section
Rotate Section
Cut Section
Travel Path
Synchronize Views
Page 76
5 Basic Tools
2.
3.
4.
5.
Define the start or left point of the section center line with a data click in a top view.
Define the end or right point of the section center line with a data click in a top view.
Define the section view depth with a data click in a top view or by typing a value in the
Depth field of the Draw Vertical Section dialog.
If Apply to is not switched on in the Draw Vertical Section dialog, select the view for displaying the section with a data click inside this view.
The selected view is rotated to show the vertical section. The application automatically
computes the required elevation range so that all laser points inside the given section space
are displayed.
Setting:
Depth
Apply to
Effect:
Display depth of a section on both sides of the center line. If
on, the depth is fixed to the given value.
If on, the section is automatically displayed in the selected
view.
Page 77
5 Basic Tools
Use the Draw Vertical Section tool in order to create a vertical section view.
Select the Draw Horizontal Section tool.
The Draw Horizontal Section dialog opens:
3.
4.
5.
Define the center elevation of the horizontal section with a data click in the vertical section
view.
Define the top view depth (= visible elevation range) with a data click in the vertical section
view or by typing a value in the Depth field of the Draw Horizontal Section dialog.
If Apply to is not switched on in the Draw Horizontal Section dialog, identify the view for
displaying the top view with a data click.
The selected view is rotated to a top view and displays the defined elevation range.
Setting:
Depth
Apply to
Effect:
Display depth or visible elevation range of a horizontal
section view up and down from the center elevation. If on,
the display depth is fixed to the given value.
If on, the section is automatically displayed in the selected
view.
Page 78
5 Basic Tools
Move Section
Move Section tool lets you move stepwise forward or backward in section views. The tool is most
useful in views created by Draw Vertical Section and Draw Horizontal Section tools.
2.
3.
3.
Effect:
Step size:
Half of view depth - the section is moved by half of the
sections depth. If the section depth is 1 m, the section is
moved 0.5 m with each mouse click.
Full view depth - the section is moved by its full depth.
If the section depth is 1 m, the section is moved 1 m with
each mouse click.
Page 79
5 Basic Tools
Rotate Section
Rotate Section tool rotates a vertical section view stepwise around its center point.
The direction and angle of rotation can be determined by data clicks inside the section view or by
a fixed value in the tools dialog.
2.
3.
Effect:
Rotation angle applied to a view with each data click. If on,
the rotation is fixed to the given value. Positive values rotate
in counterclockwise direction, negative values in clockwise
direction.
Page 80
5 Basic Tools
Cut Section
Cut Section tool creates a vertical section view which is perpendicular to another vertical section
view. In addition to just rotating the section by 90 degree, the cut section tool allows you to define
another depth for the new section view.
Create a vertical section view using the Draw Vertical Section tool.
Select the Cut Section tool.
This opens the Cut Section dialog:
3.
Define the position of the new sections center line with a data click in the section view.
The center line of the new section is defined by the given position perpendicular to the center
line direction of the source section.
4.
5.
Define the section view depth by placing a data click or by typing a value in the Depth field
of the Cut Section dialog.
Identify a view for displaying the new section with a data click inside the view.
The selected view is rotated to show the new section.
Setting:
Depth
Effect:
Display depth of a section on both sides of the center line. If
on, the depth is fixed to the given value.
Page 81
5 Basic Tools
Travel Path
Travel Path tool lets you view an animation along an alignment element. The tool provides an excellent way for traversing along the survey path and checking the data visually.
The alignment element can be any linear element. In most cases you create the element manually
or draw, for example, a trajectory line into the design file by using the Draw into design command. Alternatively, you can use TerraScans Draw from points command which draws an approximate flight path deduced from the order of loaded laser points.
You can define what kind of views you want to see while traveling along the alignment. Supported
view types include top, cross section, longitudinal section, and isometric views.
3.
Effect:
Step along alignment between consecutive cross sections.
Full depth of each cross section. Each cross section covers a
rectangular area defined by the Depth and Width values.
Full width of each cross section. Each cross section covers a
rectangular area defined by the Depth and Width values.
Speed for automatic animation display.
Page 82
5 Basic Tools
Setting:
Start station
Views
Elevations
Effect:
Defines the starting point on the alignment element from
which the animation starts.
MicroStation views that are used for displaying the
animation:
Top view - displays data from the top.
Second top view - displays data from the top.
Cross section 3D - displays data in a cross section.
Longitudinal section 3D - displays data in a longitudinal
section.
Isometric view 3D - displays data in an isometric view.
Method of elevation range computation which defines how
the animation follows elevation changes in the data:
Follow all points - all points determine the visible
elevation range.
Follow selected classes - points from selected classes
determine the visible elevation range. Select a single
class from the Class list. Click on the >> button in order
to open the list of active classes and select several
classes.
Follow 3D alignment - the alignment element
determines the center elevation and the visible elevation
range is determined by the Minimum dz and Maximum
dz values given relative to the alignment element.
Fixed - a fixed elevation range defined by Minimum z
and Maximum z values is used for the whole animation.
The Travel Player dialog contains the following commands and tools for traveling along the
alignment element:
Menu/
Tool:
Command/Tool
name:
Move
Using mouse
Move
Move
To start
To end
Effect:
Update a cross section view dynamically as you move
the mouse pointer along the alignment. If you place a
data click, the tool updates all views.
Move to the start of the alignment and update all views.
Move to the end of the alignment and update all views.
Play backward
Step backward
Stop
Step forward
Play forward
Additionally, an animation can be saved as .AVI file using the Save animation command from
the File pulldown menu.
To save an animation:
1.
Select Save animation command from File menu in the Travel Player.
Page 83
5 Basic Tools
2.
3.
"
Effect:
View number from which the animation is recorded. The
view must be open to be recorded.
Speed of the resulting animation in seconds per frame.
Defines how frames are saved to the avi file:
Every frame - every frame is saved.
Every nth frame - only every nth frame is saved where
n is defined in the Step field.
The Travel Path tool is able to save very simple animations along an alignment element. It is most
useful for saving cross sections in an animation but it has some drawbacks in saving views with a
larger number of points, such as isometric views. For the production of more advanced animations, see the Create Flythru Movie tool in TerraPhoto.
Page 84
5 Basic Tools
Synchronize Views
Synchronize Views tool defines dependencies between Microstation views. The display in a dependent view is automatically updated, if the master view display changes. This is useful if you
want to view the same location using two different types of content. For example, you may want
to see an orthophoto and laser points side by side in two different top views.
Synchronize Views tool can define the following dependencies:
No synch - view works normally and does not depend on other views. This is the default
setting.
Match - dependent view shows the same area using the same rotation as the master view.
X section - dependent view shows a cross section along the screen X axis of the master view.
Y section - dependent view shows a cross section along the screen Y axis of the master view.
Front 3D - dependent view is a 45 degree oblique view looking forward and down to the area
displayed by the master view.
Side 3D - dependent view is a 45 degree oblique view looking right and down to the area
displayed by the master view.
2.
3.
4.
"
Effect:
Depth of a section view.
Synchronization stays active if the Synchronize Views dialog is closed. If you want to release the
view dependencies and stop synchronization, reopen the dialog and set all views to No synch.
Page 85
5 Basic Tools
2.
3.
Define settings.
If Sample is set to All points, place a data click anywhere in a MicroStation view (Loaded
points) or inside the project area (Project points).
This displays the average point density of loaded points or points in the project.
OR
3.
If Sample is set to Rectangle or Circle, define the center point of the sample area with a
data click.
This displays the average point density inside the sample area.
Setting:
Class
Use
Sample
Width
Effect:
The point density is computed for points of any class or of a
specific class. The list contains the active classe definitions
in TerraScan.
Defines which points are used for the density measurement:
Loaded points - density is measured from points loaded
in TerraScan.
Project points - density is measured from binary files
referenced by the active project in TerraScan.
Sample area for the density measurement:
All points - area covered by all points.
Rectangle - rectangular area.
Circle - circular area.
Defines the width of a Rectangle or the diameter of a Circle
depending on the setting in the Sample field. Given in
master units of the design file.
Page 86
5 Basic Tools
Page 87
5 Basic Tools
To:
Use:
Inspect Elements
Page 88
5 Basic Tools
2.
3.
Define setting.
Start the drawing tool that you want to use and digitize elements.
As long as the Mouse Point Adjustment dialog is open and any adjustment option is
switched on, all vertices of elements are adjusted according to the settings.
Setting:
Adjust elevation
Dz
Adjust xy
Class
Point
Within
"
Effect:
If on, the elevation of data clicks ( vertices) is adjusted.
Constant offset from the laser data elevation value that is
added to the elevation coordinate of element vertices.
If on, the xy location of data clicks ( vertices) is adjusted.
Point class to adjust to. Contains the list of active classes in
TerraScan.
Points or surface model from which element vertex
coordinates are derived:
Closest - point closest to the data click.
Highest - highest point within a search area.
Average - average xy and/or z of all points within a
search area.
Percentile - average xy and/or z of a given percentile of
points within a search area.
Lowest - lowest point within search area.
TIN model - elevation of a triangulated surface model
and xy from the closest point.
Radius of the search area around the mouse pointer location.
Be sure to always close the Mouse Point Adjustment dialog if you do not want to adjust data
clicks to laser points. As it effects all data clicks, it may interfere with your normal work if it is
active.
Page 89
5 Basic Tools
3.
4.
5.
To class
Within dxy
Within dz
Effect:
Defines whether vertices are added to the fitted element or
not:
Sharp vertices - no additional vertices are added.
Suitable for fitting elements with straight line
segments between sharp turns (for example overhead
wires).
Smooth curvature - additional vertices may be added.
Suitable for fitting an element which has smooth
curvature only (for example paint line on a road).
Point class to fit to. Contains the list of active classes in
TerraScan.
Maximum horizontal offset of laser points to be used in
the fitting process.
Maximum vertical offset of laser points to be used in the
fitting process. Enter a large value such as 999.000 if you
want to use all laser points regardless of their elevation.
Page 90
5 Basic Tools
Setting:
Create copy
Smoothen curvature
Effect:
If on, a copy of the original element is created and fitted.
The new element is placed on the active level using active
symbology settings of MicroStation.
If off, the original element is fitted.
If on, the fitting process ignores points within the distance
to element vertices given in the Within dxy field. This is
only active if Mode is set to Sharp vertices.
If on, the fitting process adds intermediate vertices along
long segments. The distance between consecutive vertices
is given in the Step field. This is only active if Mode is set
to Smooth curvature.
If on, the curvature of the fitted element is smoothed by
balancing angular direction changes between consecutive
vertices. This is only active if Mode is set to Smooth
curvature.
Page 91
5 Basic Tools
3.
4.
Define settings.
If elements have been selected, start the draping process with a data click inside the MicroStation view.
This drapes the selected elements to the laser points.
OR
4.
5.
Page 92
5 Basic Tools
Setting:
Runs along
Vertices
From class
Offset
Smoothen Z
Thin
Create copy
Set symbology
Strip attributes
Shift
Curb width
Curb height
"
Effect:
Type of surface structure the linear element runs along:
Planar surface - smooth planar surface.
Juncture of surfaces - intersection of one planar surface on the left
side of the element and another planar surface on the right side.
Edge of surface - edge of a surface where only points on the left or
on the right side of the edge are used for draping.
Fixed height curb stone - curb stone of constant height. Two linear
elements are generated with a given elevation difference.
Auto height curb stone - curb stone of varying height. The average
elevation difference is derived from the points on the left and the
right side of the curb stone edge. Two linear elements are generated
which have the derived elevation difference.
Determines the computation of additional vertices:
Compute additional - additional vertices are computed, the draped
element follows the surface structure more closely.
Drape original only - no additional vertices are added.
Point class(es) to drape to. Contains the list of active classes in
TerraScan.
Opens the Select classes dialog which contains the list of active classes
in TerraScan. You can select multiple source classes from the list that
are then used in the From class field.
Offset distance range from which to use laser points for computing
elevation values for the linear element.
If on, smoothing is applied to the elevation of vertices of the draped
element. The elevation of vertices can change up to the value given in
the Maximum field.
If on, unnecessary vertices are removed from the draped element. The
allowed change in position caused by thinning is defined by the value in
the Accuracy field.
If on, a new element is created and draped.
If off, the original element is draped.
If on, you can define new symbology settings for the draped element.
Click on the Define button in order to open the Draped element
symbology dialog. You can define Level, Color, Weight, and Style
settings.
If on, any attribute linkages are removed from the draped element.
If on, the draped element is created at the given xy Distance from the
surface edge location. This is only active if Runs along is set to Edge
of surface.
Width of a curb stone, xy offset between the upper and lower linear
element of a curb stone. This is only active if Runs along is set to Fixed
height curb stone or Auto height curb stone.
Height of a curb stone, elevation offset between the upper and lower
linear element of a curb stone. This is only active if Runs along is set
to Fixed height curb stone.
To drape shapes to a constant elevation derived from laser points inside the shapes, you may also
check the Set Polygon Elevation tool.
Page 93
5 Basic Tools
(Optional) Select the element(s) from which you want to create breaklines.
Select the Find Breakline Along Element tool.
This opens the Find Breakline Along Element dialog:
3.
4.
Define settings.
If elements have been selected, start the process with a data click inside the MicroStation
view.
This creates new 3D elements at the most probably position of terrain breaklines close to the
selected elements.
OR
4.
5.
Effect:
Point class from which to find the breakline in the terrain. The list
contains the active point classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Fit to class field.
Page 94
5 Basic Tools
Setting:
Breakline type
Soft breaks
Geometry
Result within
Plane width
Thin result
Effect:
Type of the breakline:
Hard breakline - breakline which forms a sharp corner when
viewed in a cross section.
Soft breakline - breakline which forms a soft corner when
viewed in a cross section.
Slope change - terrain slope changes at the breakline.
Elevation jump top - top of a breakline feature forming a drop
in elevation.
Elevation jump bottom - bottom of a breakline feature
forming a drop in elevation.
Distance between single linear elements that form a soft breakline.
This is only active if Breakline type is set to Soft breakline.
Geometry type of the resulting element:
Line - feature may have sharp turns.
Curve - feature has smooth turns only.
From element - derived from the original element.
Determines how close the original 2D element is to the true xy
position of the breakline.
Width of the planar surfaces on both sides of the breakline.
If on, unnecessary vertices are removed from the breakline
element. The allowed change in position caused by thinning out
vertices is defined by the value in the Accuracy field.
Page 95
5 Basic Tools
3.
4.
Define settings.
If elements have been selected, start the process with a data click inside the MicroStation
view.
This compares the selected elements to laser points or other elements and removes parts if
applicable.
OR
4.
5.
Cut intervals
No points within
Class
Effect:
Defines which element parts are removed:
No points closeby - no laser points are close to the element.
No elements closeby - no other vector elements are close to the
element.
Another element closeby - another element is close to the element.
An element (part) is removed if the 3D distance to laser points/other
elements is larger than the given value.
Point class(es) considered in the distance computation. This is only
active if Cut criteria is set to No points closeby.
Page 96
5 Basic Tools
Setting:
Level
Effect:
Opens the Select classes dialog which contains the list of active classes
in TerraScan. You can select multiple source classes from the list that
are then used in the Class field.
Elements of the given design file level are considered for distance
computation. This is only active if Cut criteria is set to No elements
closeby or Another element closeby.
Page 97
5 Basic Tools
Load laser data into TerraScan. Only points in class(es) for the comparison with footprint
polygons are required.
Select the footprint polygons that you want to include in the comparison.
Select the Check Footprint Polygons tool.
This opens the Check footprint polygons dialog:
4.
Create polygons
for low density
Covered
Area
Level
Effect:
Point class(es) used for the comparison. The list contains the active
classes in TerraScan.
Opens the Select classes dialog which contains the list of active classes
in TerraScan. You can select multiple source classes from the list that
are then used in the Source classes field.
If on, polygons are created on places where there is a selected polygon
but no or only sparse laser points in the given Source class(es).
Defines the minimum point density inside a footprint polygon. If the
density is lower, a polygon is created.
Defines the minimum area of a building. Only areas larger than the
given value are considered in the comparison.
Polygons marking low density places are drawn on the given level using
the active symbology settings of MicroStation.
Page 98
5 Basic Tools
Setting:
Create polygons
for missing
footprint
Points
Area
Level
"
Effect:
If on, polygons are created on places where there are laser points in the
given Source class(es) but no selected polygon.
Defines the minimum distance between a laser point and a selected
polygon. If the distance is larger, a polygon is created.
Defines the minimum area of a building. Only areas larger than the
given value are considered in the comparison.
Polygons marking missing footprint places are drawn on the given level
using the active symbology settings of MicroStation.
You can check the polygons created by this tool in a structured way with the help of the Inspect
Elements tool.
Page 99
5 Basic Tools
(Optional) Select elements for which you want to set the elevation.
Select the Set Polygon Elevation tool.
This opens the Set Polygon Elevation dialog:
3.
4.
Define settings.
If elements have been selected, start the process with a data click inside the MicroStation
view.
This computes an elevation value from laser points for each selected element and adjusts all
selected elements.
OR
4.
5.
Accept the highlighted element with a data click inside the MicroStation view.
This computes an elevation value from laser points and adjusts the element. You can
continue with steps 3 or 4.
Setting:
Class
Elevation
Turn clockwise
Effect:
Point class from which to derive the elevation. Only points inside
the shape element are used.
Method of elevation computation:
Percentile - elevations from the given Percentile value of
points. The scale shows which percentile of points is used:
Lowest, Median, or Highest points, and can be used to set the
percentile value with a data click.
Average - average of all laser point elevation values inside the
shape.
If on, the drawing direction of the adjusted shape is forced to run
clockwise.
Page 100
5 Basic Tools
Setting:
Adjust to orthogonal
Create copy
Effect:
If on, the corner angles of the adjusted shape are fixed to 90 degree
turns if the angles of the original element are within Tolerance
value off from 90 degrees.
If on, a new element is created and adjusted using the active level
and symbology settings of MicroStation.
If off, the original element is modified.
Page 101
5 Basic Tools
Construct Planar Building tool is used to create a 3D vector model of a building based on laser
points on planar surfaces of the roof. With this tool, one building at a time can be vectorized in a
half-automatic way.
In fact, the tool opens a kind of special processing environment for the building vectorization task.
This includes the arrangement of MicroStation views and the opening of the Construct Building
dialog and of two new tool sets.
In addition to the Construct Planar Building tool, TerraScan offers several tool sets for the automatic creation of building models and for manual improvements. All options, tools, and processing guidelines are described in detail in Chapter 3D Building Models on page 189.
Page 102
5 Basic Tools
(Optional) Select shape elements that you want to turn into collection shapes.
Select the Place Collection Shape tool.
The Place Collection Shape dialog opens:
3.
4.
4.
5.
Effect:
Collection shape type. The list contains all shape types that are
defined in Collection shapes category of TerraScan Settings.
Text string that is drawn inside the shape element. This works only
if collection shapes are digitized manually.
If on, and if the text string in the Number field ends with a number,
the number increases by 1 after a collection shape has been created
manually.
Page 103
5 Basic Tools
Inspect Elements
Inspect Elements tool supports the systematic check of vector elements in a design file. It provides
a list of elements from which you can select one element after the other.
The tool includes view settings that define MicroStation views displaying the selected element in
different view orientations. The selected element is automatically centered in these views.
Setting:
Top view
Second top view
Front view
Right view
Camera view
Fit view
Modifies level
Modifies color
3.
Effect:
MicroStation view that displays the selected element in a top view.
MicroStation view that displays the selected element in a top view.
MicroStation view that displays the selected element in a front
section view.
MicroStation view that displays the selected element in an
isometric view.
MicroStation view that displays the selected element in a camera
view. The view can display images that are referenced by an active
image list in TerraPhoto.
If on, the selected element is automatically fitted in the view.
If on, an element removed by the Remove button of the Inspect
Elements dialog is moved to the given MicroStation level.
If on, the selected color is applied to an element removed by the
Remove button of the Inspect Elements dialog. The list contains
the active color table of MicroStation.
Page 104
5 Basic Tools
4.
Show location
Identify
Effect:
Removes the selected element from the list. The element itself is
not deleted but it can be moved to another level and/or get another
color according to the tools Remove action settings.
Select a line in the list, click on the button and move the mouse
pointer inside a MicroStation view. This highlights the selected
element in the view.
Click on the button and identify an element with a data click in a
MicroStation view. This selects the corresponding line in the list.
Moves one image backward in the active image list and displays
the new image in the camera view.
Click on the button and move the mouse pointer inside a
MicroStation view. The image closest to the mouse pointer is
highlighted. Select an image for the camera view display with a
data click.
Moves one image forward in the active image list and displays the
new image in the camera view.
Page 105
5 Basic Tools
To:
"
Use:
Classify Fence
Remove Vegetation
Fix elevation
Rebuild Model
Create Editable Model and Rebuild Model tools require TerraModeler to run.
Page 106
5 Basic Tools
3.
4.
5.
6.
Enter a descriptive name for the new surface, define other settings if required, and click OK.
TerraModeler creates the surface model.
7.
8.
Select the Display Shaded Surface tool in TerraModelers Display Surface tool box.
Define display settings and click OK.
This displays the shaded surface using the elevation values of the laser points and given
lightning conditions.
If TerraModeler is not available, you can use the Color by Shading display method of TerraScan
to display a shaded surface visualization of the laser points based on class coloring.
Page 107
5 Basic Tools
2.
3.
Define settings.
Move the mouse pointer inside a view.
In a top view, the search area is shown at the mouse pointer position.
4.
Identify the single point or the group of points with a data click.
This classifies the identified point or point group. You can continue with step 2 if you want
to change settings, or with step 3.
5.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From
Classify
Select
Within
To class
Effect:
Source class; only points from this class are effected. The list
contains the active classes in TerraScan. Alternatively, Any
visible point can be classified.
Defines which points are classified: Single point or Whole group.
Whole group is only active if group numbers are assigned to laser
points.
Method how the software selects a point or group for
classification:
Closest - the point closest to the data click is classified.
Highest - the highest point within the search area is classified.
Lowest - the lowest point within the search area is classified.
Radius of the search area. Given in master units of the design file.
Target class into which points are classified. The list contains the
active classes in TerraScan.
Switches From and To class classes. If From is set to Any visible
point, To class is switched to the source class with the lowest class
number.
Page 108
5 Basic Tools
2.
3.
Define settings.
Place a data click to start the classification.
OR
3.
4.
5.
5.
6.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From
Brush shape
Brush size
To class
Effect:
Source class; only points from this class are effected. The list
contains the active classes in TerraScan. Alternatively, Any
visible point can be classified.
Shape of the brush: Circle or Rectangle.
Size of the brush. Given in pixels on the screen.
Target class into which points are classified. The list contains the
active classes in TerraScan.
Switches From and To class classes. If From is set to Any visible
point, To class is switched to the source class with the lowest class
number.
Page 109
5 Basic Tools
Classify Fence
Classify Fence tool classifies points inside a fence area. The fence area can be defined a by MicroStation fence or by a polygon drawn with the Classify fence tool.
The tool works in top views as well as in section views.
3.
4.
Define settings.
If a fence has been drawn, accept the fence contents with a data click inside the view.
This classifies the points inside the fence.
OR
4.
5.
Digitize a fence around the points you want to classify by placing data clicks inside a view.
The fence is closed if you place a data click close to the first vertex of the fence.
Accept the fence contents with a data click.
This classifies the points inside the fence. You can continue with step 3 if you want to change
settings, or with step 4 if you digitize the fence with this tool.
6.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From class
To class
Effect:
Source class(es); only points from selected class(es) are effected.
The list contains the active classes in TerraScan. Alternatively,
points from multiple classes or Any visible point can be classified.
Target class into which points are classified. The list contains the
active classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the From class field.
Switches From and To class classes. If From is set to multiple
classes or Any visible point, To class is switched to the source
class with the lowest class number.
Page 110
5 Basic Tools
2.
3.
Define settings.
Draw a line by placing data clicks in a section view. The line and the area effected by the
classification are temporarily displayed after placing the start point.
This classifies points which are above the line, between the lines start and end point, and
within the section view extend and depth. You can continue with step 2 if you want to change
settings, or with step 3.
4.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From class
To class
Effect:
Source class(es); only points from selected class(es) are effected.
The list contains the active classes in TerraScan. Alternatively,
points from multiple classes or Any visible point can be classified.
Target class into which points are classified. The list contains the
active classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the From class field.
Switches From and To class classes. If From is set to multiple
classes or Any visible point, To class is switched to the source
class with the lowest class number.
Page 111
5 Basic Tools
2.
3.
Define settings.
Draw a line by placing data clicks in a section view. The line and the area effected by the
classification are temporarily displayed after placing the start point.
This classifies points which are below the line, between the lines start and end point, and
within the section view extend and depth. You can continue with step 2 if you want to change
settings, or with step 3.
4.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From class
To class
Effect:
Source class(es); only points from selected class(es) are effected.
The list contains the active classes in TerraScan. Alternatively,
points from multiple classes or Any visible point can be classified.
Target class into which points are classified. The list contains the
active classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the From class field.
Switches From and To class classes. If From is set to multiple
classes or Any visible point, To class is switched to the source
class with the lowest class number.
Page 112
5 Basic Tools
2.
3.
Define settings.
Draw a line by placing data clicks in a section view. The line and the area effected by the
classification are temporarily displayed after placing the start point.
This classifies points which are above the line, below the line, and/or close to the line,
between the lines start and end point, and within the section view extend and depth. You can
continue with step 2 if you want to change settings, or with step 3.
4.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
Above
Close
Below
Tolerance above
Tolerance below
Effect:
If on, above line classification is applied. Source and target classes
are selected in the From and To lists of active classes.
Alternatively, Any visible point can be selected in the From list.
If on, close to line classification is applied. Source and target
classes are selected in the From and To lists of active classes.
Alternatively, Any visible point can be selected in the From list.
If on, below line classification is applied. Source and target classes
are selected in the From and To lists of active classes.
Alternatively, Any visible point can be selected in the From list.
Distance from the drawn line to the line that defines the above line
classification limit. Together with the Tolerance below value, this
defines the area of close to line classification.
Distance from the drawn line to the line that defines the below line
classification limit. Together with the Tolerance above value, this
defines the area of close to line classification.
Page 113
5 Basic Tools
2.
3.
4.
Use Save points or Save points As commands in order to save added points permanently
into a laser point file.
Setting:
Above
Line
"
Effect:
Target class into which synthetic points are added. The list
contains the active classes in TerraScan.
Flightline number assigned to synthetic points.
MicroStation elements can be snapped to place a synthetic point at an exact location. This might
be useful, for example, if points have to be added in a regular grid. Also, the Mouse Point
Adjustment tool can be used to derive elevation values for synthetic points from laser points.
Page 114
5 Basic Tools
Remove Vegetation
Remove Vegetation tool removes points in low vegetation from points classified as ground. It
works within a limited area defined by a MicroStation fence or selected polygon.
The can be used, for example, to smooth the ground surface after automatic ground classification.
Use MicroStation tools to draw a fence or polygon around the area for processing. Select
the polygon.
Select the Remove Vegetation tool.
The Remove Vegetation dialog opens:
3.
4.
5.
Define settings.
Click on the Test button to see the result of the settings in a preview.
Click OK to apply the classification.
This classifies the points from the ground class to the target class.
6.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
From ground
To class
Only visible ponts
Limit
Effect:
Source class, usually a ground class; only points from the selected
class is effected. The list contains the active classes in TerraScan.
Target class into which points are classified. The list contains the
active classes in TerraScan.
If on, only points that are visible in the fence are effected.
If off, all points in the fence are effected, even if their display is
switched off.
Distance up to which points above a surface defined by the lowest
ground points are classified. Given in the master unit of the design
file. The amount of effected points is shown next to the input field.
Page 115
5 Basic Tools
Fix elevation
Fix Elevation tool fixes elevation values of points to a constant value. The tool processes data inside limited areas that can be defined by selected polygons, polygons on a given design file level,
or a fence.
This tool may be useful, for example, to get a smooth surface from points on water.
Use MicroStation tools to draw polygons or a fence around the area(s) for processing.
Select polygons, if required.
Select the Fix Elevation tool.
The Fix Elevation dialog opens:
3.
4.
Use Save points or Save points As commands in order to save changes to point classes permanently into a laser point file.
Setting:
Class
Elevation
Effect:
Source class(es); only points from selected class(es) are effected.
The list contains the active classes in TerraScan. Alternatively,
points from multiple classes or Any class can be selected.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Class field.
Method of calculating the constant elevation value:
From points - elevation derived from the given Percentile
value of points. The scale shows which percentile of points is
used: Lowest, Median, or Highest points, and can be used to
set the percentile value with a data click.
Keyin value - absolute elevation value given in the Value field.
Page 116
5 Basic Tools
Setting:
Process inside
Effect:
Determines the processing area:
Fence - points inside a MicroStation fence are effected.
Selected polygons - points inside selected polygons are
effected.
Polygons by level - points inside polygons drawn on the given
design file Level are effected. The polygons can be further
specified by selecting By color, By weight, and/or By style
options. The selection lists use the active color table, line
weights and line styles of MicroStation.
Page 117
5 Basic Tools
Rebuild Model
Rebuild Model tool runs a complete update of an editable surface model. It effects the surface
model that has been created by the Create Editable Model tool. The process re-creates the TIN
structure from all points in the model class(es) and updates all active displays of the surface model.
You should use this tool if you classify points to/from the surface model class(es) using tools other
than those in the Model tool box or if the automatic update of the editable surface model does not
work correctly.
To rebuild a model:
1.
Page 118
6 Powerlines
Powerlines
TerraScan has a number of tools which are dedicated to powerline processing. These include classification, vectorization and reporting tools.
The general strategy for processing powerline data can be outlined as:
1.
2.
Page 119
6 Powerlines
To:
Use:
Activate Powerline
Detect Wires
Page 120
6 Powerlines
Place Tower String tool is used to manually place an approximate centerline from tower to tower.
This tower string will be used in later processing steps when detecting wires, validating catenary
attachment points, placing towers or producing reports along the powerline.
A tower string is a line string or a complex chain which runs along the powerline with a vertex at
each tower.
Place Tower String tool integrates line string placement and view panning in one tool which
speeds up the digitization process.
2.
3.
4.
5.
6.
Classify all higher points into a unique point class using By absolute elevation or By
height from ground routines. This is to separate all points which are high from the ground
and which may be hits on towers or wires. The classified high points will also include hits
on other high objects such as trees and buildings.
Choose a view which you will use as Top view for placement. Optionally, choose a second
view as profile view where you will see the powerline in a profile while digitizing the tower
string.
Switch the class of high points on and the classes of all other point classes off for that view
in the Display mode dialog from Display mode command. Set Color by to Elevation.
To emphasize the elevation coloring, sort laser points by increasing Z values using Sort
command. This improves the visibility of towers and wires within their environment.
Zoom in close to a tower so that you can clearly see where the tower is located. Normally
this means that you will see only one tower and some wire hits which indicate the direction
where the powerline continues.
Set active color and active level of the design file in a way that the tower string will be
placed on a level with no other elements.
2.
3.
Make sure Top view is set as the view you have chosen as top view.
Enter other settings.
Setting:
Line number
Top view
Profile view
Effect:
Defines a number for a tower string. Each tower string
should have a unique number to identify a powerline clearly.
View for digitizing the tower string. In this view the
dynamic rectangle will be drawn.
An optional view which will display a profile along the
direction of tower string you are creating. You will need this
if you can not see the locations of towers from a top like
view. The profile view will show the curvature of catenary
wires to help locate towers.
Page 121
6 Powerlines
Setting:
Depth
4.
Effect:
Width of the profile view within which points are displayed.
This should include the whole width of a powerline.
5.
6.
7.
8.
9.
Enter a mouse click outside the dynamic rectangle to move the view in the direction of the
powerline.
Repeat step 5 until you see the next tower inside the dynamic rectangle.
Enter a vertex at the approximate center of the next tower.
Continue with step 5 until a vertex for each tower of the powerline has been placed.
Enter reset to finish the placement of a tower string.
As end result of tower string placement, you should get a single line string or complex chain type
element for one powerline. It may happen that you can not place the entire tower string in one operation. In this case you should continue by placing another tower string which runs in the same
direction and starts at the exact end point of the previous one. When you have placed a number of
shorter tower strings, you can join those using MicroStations Create Complex Chain tool.
Activate Powerline
Activate Powerline tool activates a tower string for further processing steps.
Most of the powerline processing functions such as detection of wires, check of catenary attachments, placement of towers as well as labeling and report tools are applied to the activated powerline.
To activate a powerline:
1.
2.
1.
2.
Select the tower string of the powerline to be activated using MicroStation Selection tool.
Select the Activate Powerline tool.
This activates the selected powerline. The tower string is displayed as defined in Powerlines
/ Active line in TerraScan Settings. An information window informs you about the number
of the activated powerline.
To deactivate a powerline:
1.
Page 122
6 Powerlines
Detect Wires
Not Lite
Detect Wires tool finds laser points which form a catenary curve. It will draw detected wires as
line strings in the design file and classify matching points in a given class.
This command will search for points which form a straight line and also match the elevation curve
of a catenary. This process involves least squares fitting for both the xy line equation and the elevation curve equation of the catenary.
The most important parameter controlling wire detection is Max gap which defines the maximum
gap between consecutive laser hits on a wire. It is not advisable to run the detection on the whole
data set with a long maximum gap because then the chance of finding false catenaries increases.
You should normally run the detection first with a relatively short maximum gap which will not
necessarily detect all wires. You may then want to process locations with very few hits on the
wires one tower segment at a time using a longer maximum gap.
To detect wires:
1.
2.
Page 123
6 Powerlines
Setting:
From class
To class
Process
Max offset
Max gap
Linear tolerance
Elevation tolerance
Require
Ignore points
Minimum
Maximum
Effect:
Class from which to search points. This should be the class into
which high points have been classified before.
Class into which to classify points matching to detected wires.
Whether to process all tower to tower spans or only a single
segment.
Maximum offset from tower string to search for points. This
should be set to a bit more than half of the approximate width
of the powerline.
Maximum allowed gap between consecutive hits on a wire.
Tolerance for xy line fitting and classification of matching
points.
Tolerance for elevation curve fitting and classification of
matching points.
Minimum amount of laser hits matching one catenary string
required for detection. Values can range from 3 to 999.
Distance from tower within which points are ignored. Points
close to the tower can be hits on tower structure and should be
ignored when determining the mathematical shape of the wire.
Minimum catenary constant to accept as a wire.
Maximum catenary constant to accept as a wire.
Page 124
6 Powerlines
Place Catenary String tool lets you manually place a single catenary curve between two towers.
You should use this tool in places where automatic detection of wires does not work. This happens
normally when you have a very small number of hits on the wire.
You define the mathematical shape of the catenary curve with three mouse clicks. In most cases
you would use Snap to lock to use the xyz coordinates of closest laser hits.
You can enter optional mouse clicks to define the start location and the end location of the catenary curve. These affect the length of the catenary only. You would normally use this feature to
extend the catenary curve to cover the whole distance from tower to tower. You can snap the start
location to an end point of an incoming wire or to a tower string vertex. Similarly, you can snap
the end location on to a start point of an outgoing wire or to a tower string vertex.
In order to improve the accuracy of the catenary curve, you can apply least squares fitting. The
manually entered three curvature points define the initial shape of the catenary. The application
will then search all points which are within a tolerance distance from the manually entered curve
and use those points in the fitting process.
Use Draw Vertical Section tool to create a longitudinal section along the wire from tower to
tower.
Set active color and active level in the design file to place the catenary on a dedicated level.
2.
Select settings.
Setting:
Start location separately
Snap to
Fit using
Classify to
End location separately
3.
4.
5.
6.
Effect:
If on, first point defines the start location of the catenary.
If on, adjust the three curvature points to the coordinates of
closest laser points of a given class. This lock is normally on.
If on, the catenary curve will be fitted to laser points of the
given class within the defined tolerance.
If on, classify points to a given class. Affects points within
the defined tolerance from the final curve.
If on, last point defines the end location of the catenary.
Page 125
6 Powerlines
7.
8.
Page 126
6 Powerlines
Check Catenary Attachments tool validates and adjusts catenary curves. It checks the gaps between catenary curves at tower locations. Because each catenary curve has been computed using
laser points from one tower to tower span only, the incoming curve and the outgoing curve do not
meet exactly. The magnitude of the gap gives some indication of how accurately the catenaries
have been detected or placed.
3.
Effect:
List of levels from which to search catenaries. For example:
50 - level 50.
15,21-24 - levels 15,21,22,23 and 24.
Number of the tower at the first vertex of the activated tower
string.
Xy gap flagging limit. Gaps exceeding this value will be drawn in
red color in the list.
Z gap flagging limit. Gaps exceeding this value will be drawn in
red color in the list.
Tower shift flagging limit. Gaps exceeding this value will be
drawn in red color in the list.
The Catenary Attachment window displays a list where each row corresponds to an attachment
point or to a catenary end point for which no matching catenary has been found. Each row displays
a horizontal gap, an elevation gap and a tower shift in centimeters at the attachment point.
Page 127
6 Powerlines
You should now scan through the list and inspect every location where the gap values are unacceptable. If you have given reasonable error flagging tolerances, you will see the large gap values
displayed in red. After viewing the problem location, you may choose to improve the catenary
curves by using one of the adjustment tools from the menu.
Choose command:
All / Shift all
All / Adjust all
All / Update list
All / Statistics
Edit / Shift tower
Edit / Set attachment xy
Edit / Adjust attachment
Edit / Move catenary end
When you are done improving the catenaries, you can choose Adjust all tool from All menu to
adjust all attachment points to the average of the catenary end points.
Page 128
6 Powerlines
2.
2.
Page 129
6 Powerlines
All / Statistics
Statistics menu command displays statistics about attachment points.
2.
Meaning:
Number of attachment points (places where two catenary
curves meet approximately).
Number of catenary end points for which no matching catenary
has been found. These places are:
at the start or at the end of the processed powerline
at a tower span where a catenary has not been detected or
has been manually placed
at a tower where an incoming catenary string is too far from
the outgoing one
Page 130
6 Powerlines
Page 131
6 Powerlines
Assign Wire Attributes tool lets you define attributes and set the symbology for whole wires, a certain span range or a single catenary.
3.
4.
5.
Select, for what to assign attributes: Whole chain, Span range or Single span.
If Assign to is set to Span range, select a start tower and an end tower by clicking near to it
to define the range.
Select a wire for which to assign attributes.
This opens the Assign Wire Attributes dialog:
6.
Effect:
Number of the powerline. This is filled automatically from the
activated tower string.
Text field for entering a free system identifier.
Text field for entering a free wire number.
Text field for entering a free description for the wire.
If on, the selected wire is moved to the given design file level.
If on, the given color, weight and line style is applied for the
selected wire.
Page 132
6 Powerlines
To:
Use:
Place a tower
Place Tower
Move Tower
Rotate Tower
Create Attachments
Add Attachment
Move Attachment
Delete an attachment
Delete Attachment
Page 133
6 Powerlines
Place Tower
Not Lite
Place Tower tool lets you place a tower. The appearance of the tower has to be defined in
Powerlines / Tower types in TerraScan Settings before. Each tower is created as MicroStation
cell element consisting of a tower body and cross arms as simple lines.
Towers are placed manually based on the tower type definition, an activated tower string and the
laser points. Tower vectorization can be supported by view arrangement and display options. One
MicroStation view should be defined as top view, another one as section view showing the same
tower completely. Set the display of laser points in a way that shows the towers clearly in both
views. The View Tower Spans tool with settings for viewing tower positions can be helpful to
place towers along a powerline in a structured way.
Additionally, a tower template can be defined from an already vectorized tower. If towers are
placed using a template, the locations, lengths and shapes of the cross arms are fixed. This might
be useful if more complex cross arms have been created manually using the Add Cross Arm tool.
See Creating a tower template on page 134 for more information about how to define a tower
template.
To place a tower:
1.
2.
3.
Enter settings.
Setting:
Template
Number
Auto increase
Description
Type
Function
Status
Ground
4.
Effect:
Use of a template for tower placement:
None - no template is used.
Identify - the tower which is selected with the next mouse click
is set as active template for further towers.
Active - towers are placed using the active template.
Tower number.
If on, numbers for towers increase automatically for each placed
tower.
Text field for entering a free description for the tower.
Type of the tower as defined in TerraScan settings in the
Description field for a tower type.
Function of the tower defined in TerraScan settings.
Status of the tower defined in TerraScan settings.
Ground class in laser data to define the base point of the tower.
5.
Define the base point of the tower with a mouse click in the top view.
Page 134
6 Powerlines
The elevation of the base point is set automatically according to the ground laser points.
6.
7.
Define the height by a mouse click on the top of the tower as it can be seen in the laser
points.
Next, the software waits for the placement of the cross arms according to the tower type
definition.
8.
Place the end point of the first cross arm as it can be seen in the laser points in the section
view.
If a template is used for placing the tower, the location and length of the cross arms is defined
by the template. Nevertheless, the software waits for the mouse clicks to define the cross
arms. Click somewhere in the section view to confirm the cross arm location.
9.
Place the end points of all remaining cross arms in the same way.
After defining the end point of the last cross arm, the placement of the tower is finished. If
Auto increase is on in the Place Tower dialog, the number is increased. You may enter new
settings for the next tower and continue with step 4.
"
While placing one tower, single steps can be redone using the right mouse button.
Vectorize one tower using Place Tower, Add Cross Arm or other Vectorize Towers tools.
Select the Place Tower tool.
Set Template to Identify.
Select the vectorized tower.
This sets the selected tower as active template.
You can continue with placing the first tower using the template.
"
The identification of a template does not influence the tower attributes set in the Place Tower dialog.
Page 135
6 Powerlines
Edit Tower Information tool lets you edit the attributes for a tower. This includes information
about tower number, description, type, status and function as well as cross arm and attachment
attributes.
3.
4.
5.
6.
Effect:
Tower number.
Text field for entering a free description for the tower.
Type of the tower as defined in TerraScan settings in the
Description field for a tower type.
Function of the tower defined in TerraScan settings.
Status of the tower defined in TerraScan settings.
Cross arms defined for the tower. Click Edit to change cross arm
Number and Description.
Attachments defined for the selected cross arm. Click Edit to
change attachment Number and Description.
Page 136
6 Powerlines
Move Tower
Not Lite
Move Tower tool changes the xy location of a tower. This can be used to correct the location if the
placement of the tower string vertex was not accurate enough in the center of the tower. Actually,
the tool moves the vertex of the tower string and a vectorized tower if one is placed at the location
of the vertex.
To move a tower:
1.
2.
3.
4.
"
Move Tower tool should not be used after attachments have been placed to prevent an incorrect
replacement of attachments and wires.
Rotate Tower
Not Lite
Rotate Tower tool changes the horizontal direction of the tower. This can be used to correct the
direction of a tower if the direction of the tower string to the next tower was not accurate enough.
To rotate a tower:
1.
2.
3.
4.
"
Rotate Tower tool should not be used after attachments have been placed to prevent an incorrect
replacement of attachments and wires.
Page 137
6 Powerlines
Add Cross Arm tool lets you add a cross arm to a tower. The cross arm can be added as simple line
or as shape. This is a way to create more complex cross arms than can be defined in TerraScan
Settings for a tower type.
2.
Define settings.
Setting:
Type
Center at tower
Force symmetry
Number
Automatic
Description
3.
4.
5.
6.
Effect:
Element type of the cross arm: Line or Shape.
If on, a cross arm is centered at the tower center point.
If on, a symmetric cross arm is forced. Cross arm shape on the left
side of the tower will be a mirror image of the shape on the right
side of the tower.
Number of the cross arm.
If on, the number is set automatically based on the already existing
number of cross arms for the tower.
Text field for entering a free description for the cross arm.
7.
8.
"
Entering the last vertex closes the shape and finishes the creation of a cross arm of the type
Shape.
When digitizing a cross arm, vertices can be added in a top view as well as in a section view. If
entered in a top view, the elevation of the vertex is set by the cross arm height. If entered in a section view, the xy location of the vertex is defined by the section line of the current section.
Page 138
6 Powerlines
Set Cross Arm Elevation tool changes the elevation of a cross arm. This can be used to set a cross
arm to a more accurate height as it can be seen in the laser data.
Extend Cross Arm tool changes the length of a cross arm either on both sides simultaneously or
only on one side.
2.
3.
Select whether to extend Both sides or only One side in the Extend field.
Select the cross arm to be extended with a mouse click near the end point.
The new extend of the cross arm is indicated by a line when the mouse is moved.
4.
Rotate Cross Arm tool rotates a cross arm around the center point of the tower.
3.
"
Rotate Cross Arm tool should not be used after attachments have been placed to prevent an incorrect replacement of attachments and wires.
Page 139
6 Powerlines
Modify Cross Arm tool modifies a cross arm by moving single vertices of the line or shape. Modification can be made to either the elevation, the xy location or both.
2.
3.
Select whether to change the Elevation, the Xy position or the Xyz position of a vertex.
Select a vertex with a mouse click near to it.
The new vertex position is indicated when the mouse is moved.
4.
"
If attachments have been created for a cross arm, they are deleted as well.
Page 140
6 Powerlines
Create Attachments
Not Lite
Create Attachments tool creates attachments for a tower. Attachments connect vectorized wires at
the end points or meeting points of catenary elements with the cross arms of a tower.
Before the creation of attachments the vectorization of the tower, cross arms and wires finished
and checked.
The attachments are created automatically for each wire if a connection to a cross arm can be created. The connection can be either a vertical line or a slope line in forward or backward direction
along the tower string. If a vertical line is created the location of the end or meeting point of the
catenary elements is moved to the attachments end point to enable a vertical connection line. A
slope line connects the end or meeting points of catenary elements on their original location with
the cross arm.
If there is no attachment created at some location, the software can not create a linear connection
in vertical or forward/backward direction between the catenaries and the cross arms.
3.
Define settings.
Setting:
Type
Number
Description
4.
Effect:
Direction of the attachment: Vertical or Slope 3D.
Number of the first attachment within that tower.
Text field for entering a free description for all attachments of one
tower.
5.
6.
Page 141
6 Powerlines
Add Attachment
Not Lite
Add Attachment tool lets you add an attachment manually to a cross arm. Besides the options offered for automatic creation of attachments there are two more possibilities: Side slope and Dual
point. Side slope creates a sloped line in left or right direction from the tower string. Dual point
attachments can connect two catenary elements that are not joined.
2.
Define settings.
Setting:
Type
Number
Automatic
Description
3.
4.
Effect:
Direction of the attachment: Vertical, Side slope, Slope 3D or
Dual point.
Number of the attachment.
If on, the number is set automatically based on the already existing
number of attachments for the tower.
Text field for entering a free description for the attachment.
5.
6.
Identify the end point of the second catenary element to connect it with the attachment.
This finishes the creation of a Dual point attachment.
Move Attachment
Not Lite
Page 142
6 Powerlines
Delete Attachment
Not Lite
To delete an attachment:
1.
2.
3.
Page 143
6 Powerlines
View Powerline
The tools in View Powerline tool box are used to view tower spans, to label towers and heights
from ground to catenaries, to find danger objects, to create span tiles and to output catenaries and
towers into text files.
To:
Use:
Label Towers
Output Catenary
Export Powerline
Page 144
6 Powerlines
You might use this tool at various stages of powerline processing. For example:
When manually classifying tree hits which are very close to the wires. You should use Span
top and Span profile views. You can classify vegetation hits using Below curve menu
command.
When validating the automatically detected wires. You should use Span top and Span profile
views.
When classifying towers. You should use Tower top, Tower rotated, Tower section and
Tower profile views.
3.
4.
5.
Enter a level list to define what levels should be searched for wire elements.
Enter a number for the first tower. This is only for display in the list of towers for this tool.
Click OK.
Page 145
6 Powerlines
6.
7.
8.
9.
Select a view to be used as Span top view and another view as Span profile view.
Set a value for Depth. This determines the depth of the profile view. It also defines the corridor width within which points are classified using Above curve or Below curve commands.
(Optional) Set Tower top, Tower rotated, Tower section and Tower profile to None if
you do not want to see views from tower locations.
Click OK.
This opens the Tower Spans dialog:
The list box in the dialog contains one row for each tower span. The tower number is for the
start tower of the span and the number of catenaries indicates catenaries starting from this
tower.
10. Make sure the views you selected as Span top and Span profile are open.
11. Select one row at a time in the list.
This updates the selected views.
3.
4.
Enter a level list to define what levels should be searched for wire elements.
Enter a number for the first tower. This is only for display in the list of towers for this tool.
Page 146
6 Powerlines
5.
Click OK.
This opens the Tower Span Display dialog:
6.
(Optional) Set Span top and Span profile to None if you do not want to see views from
tower spans.
7. Select views to be used as Tower top, Tower rotated, Tower section and Tower profile
views.
8. Set a values for Depth and Width. This determines the depth of the section and profile
views.
9. Click OK.
10. Make sure the views you selected in step 7 are open.
11. Select one row at a time in the list in the Tower Spans dialog.
This updates the selected views.
2.
3.
4.
5.
Page 147
6 Powerlines
Above curve
Above curve menu command from Classify menu in the Tower Spans dialog classifies points
above a given curve and within a corridor defined by the Depth value for Span profile in the Tower Span Display dialog. The curve is defined by three points set by mouse clicks.
The command is only active, when display settings for Span profile are defined in the Tower
Span Display dialog.
2.
3.
4.
Select a source class in the From class field from which to classify points.
Select a target class in the To class field into which to classify points.
Enter the first, second and third point of the curve in the profile view.
After the third point is placed, the points above the curve and within the corridor defined by
the profile depth value are classified from the source class to the target class.
Below curve
Below curve menu command from Classify menu in the Tower Spans dialog classifies points
below a given curve and within a corridor defined by the Depth value for Span profile in the
Tower Span Display dialog. The curve is defined by three points set by mouse clicks.
The command is only active, when display settings for Span profile are defined in the Tower
Span Display dialog.
2.
3.
4.
Select a source class in the From class field from which to classify points.
Select a target class in the To class field into which to classify points.
Enter the first, second and third point of the curve in the profile view.
After the third point is placed, the points below the curve and within the corridor defined by the
profile depth value are classified from the source class to the target class.
Settings / Display
Display menu command from Settings menu in the Tower Spans dialog opens the Tower Span
Display dialog. The settings can be changed and become active when the dialog is closed with
OK.
Page 148
6 Powerlines
Label Towers
Label Towers tool places a label for towers in the design file. The text is placed as cell element
and is always oriented to the viewer no matter how the view is rotated.
The location of the label is determined by the tower string element and offset values from the tower string vertices. Positive offset values place the text on the right side and above of the tower
string, negative values on the left side and below. Active text size settings and symbology settings
of the design file are used for placing the text.
To place labels for towers:
1.
2.
3.
4.
Effect:
Free text that is added in front of the tower number.
Number of the first tower.
Free text that is added behind the tower number.
Method of numbering the towers: Increase or Decrease.
Horizontal offset of the label from the tower location. Measured
between the tower string vertex and the center point of the text.
Vertical offset of the label. Measured between the tower string
vertex and the center point of the text.
Page 149
6 Powerlines
2.
3.
4.
Effect:
Class to compute the minimum distance of a catenary curve
to. Normally set to ground class.
Maximum search offset on both sides of catenary line.
Number of decimals for the measured distance placed as
text.
Page 150
6 Powerlines
Activate the tower string element for the powerline that you want to process using the
Activate Powerline tool.
Select the Find Danger Objects tool.
This opens the Find Danger Objects dialog:
Setting:
Catenary levels
First tower
Find using
Within distance
Within offset
Object class
Ground class
Report
Effect:
List of levels from which to search catenaries.
Number of the tower at first vertex in the selected tower string.
Method of wire danger point definition: Vertical distance to wire,
3D distance to wire or Falling tree logic.
3D radius around a wire used as search distance for danger points.
Vertical distance from a wire used in Vertical distance to wire
and Falling tree logic methods to search for danger points.
Point class from which to search for danger objects.
Class into which laser points on ground have been classified. This
is only active for Falling tree logic method.
Reporting frequency:
All - each laser point is reported. This is useful when you want
to classify danger points into another laser point class.
One for every span - each wire can have only one report row for
one tower span. The reported point is the closest.
By minimum interval - the closest point for each wire within a
distance Interval is reported.
Page 151
6 Powerlines
3.
4.
5.
6.
Select views to be used as Span top, Span profile and Section views.
Set values for Depth fields. This determines the depth of the profile and section views.
Click OK.
The Danger Objects dialog is now visible:
The list contains a report row for locations where a laser point was close to a wire element.
If you click on a row, the application automatically updates selected views to display that
danger location.
The Danger Objects window offers several menu and button commands for viewing,
classifying, labeling and reporting danger locations.
To:
Output danger locations to a text file
Classify all points in the report into another class
Change view settings for automatic display update
Label the selected point in 3D position
Label the selected point in a profile drawing
Label all report points in 3D
Label all report points in a profile drawing
Show the location of the selected point in a view
Identify danger points at a certain location
Classify the selected point to another class
Remove the selected row from the report
"
Choose command:
File / Output report
File / Classify all
File / Display settings
Label / In 3d
Label / In profile
Label / All in 3d
Label / All in profile
Show location
Identify
Classify
Remove
The classification of wire danger points can be done automatically using Wire danger points routine in a macro.
Page 152
6 Powerlines
Activate the tower string element using the Activate Powerline tool.
Select the Create Span Tiles tool.
This opens the Create Span Tiles dialog:
3.
Extend
Pixel size
Effect:
If on, rotated tile parallel to the tower string are drawn on the
defined Level with the given color.
If on, orthogonal tiles are drawn around each span on the defined
Level with the given color.
Width of the tile measured from the tower string perpendicular to
the tile boundary for rotated tiles and from the tower string vertex
to the tile boundary for ortho tiles.
Distance from a tower about which the spans tower string part is
extended before the rectangle tile for the span is created.
Intended pixel size in meters to be used in image rectification. See
TerraPhoto documentation for more information.
Page 153
6 Powerlines
Output Catenary
Output Catenary tool creates a report for the catenaries of an active powerline and on certain design file levels. From a list of all catenaries, a text file can be created for each catenary.
Activate the tower string element using the Activate Powerline tool.
Select the Output Catenary tool.
This opens the Output Catenary dialog:
3.
4.
5.
6.
Enter design file level(s) from which catenaries are searched for output.
Enter a number for the first tower.
Select attributes to be included in the report.
Click OK.
The Output Catenary dialog opens:
The list shows rows for each catenary with the number of the start tower, the number of the
wire, the attachment offset and elevation at the start tower and the amount of spans that
include this catenary.
The location of a catenary can be shown in a view by selecting the row in the list and using
the Show location button.
7.
8.
Select a catenary row in the list for which to create a text file.
Click Output.
This opens a standard Windows dialog to save a file.
9. Select a directory and type a file name for the output file.
10. Click Save.
This saves the catenary into a text file that contains a structured list with a column for each
selected attribute. An information dialog informs about the success of the action.
Page 154
6 Powerlines
Export Powerline
Export Powerline tool creates a report for the towers of an active powerline. The report is saved
as text file.
Activate the tower string element using the Activate Powerline tool.
Select the Export Powerline tool.
This opens the Export Powerline dialog:
3.
4.
5.
6.
Select a delimiter used to separate columns in the text file from each other.
Enter texts in the Tower, Cross arm and Attachment fields as to be used in the report.
Select attributes to be included in the report.
Click OK.
This opens a standard Windows dialog to save a file.
7.
8.
Select a directory and type a file name for the output file.
Click Save.
This saves the towers of the powerline into a text file that contains a structured list with a
column for each selected attribute. An information dialog informs about the success of the
action.
The first row shows the tower attributes, followed by the first cross arm attributes in the next row.
Then the attributes of the attachments belonging to the first cross arm are listed. This is done for
all cross arms for the first tower. In the same way all other towers and tower parts are listed in the
text file.
Page 155
7 Waveform Processing
Waveform Processing
TerraScan is able to read waveform information from LAS 1.3 files and from TopEye .TEW 1.15
(MarkII) files. It uses the waveform information for processing tasks. It is not possible to write out
files that include waveform information.
Waveform capabilities
If waveform data is available, you can perform the following processing steps:
View Waveform for a point in a graph and export waveform information of a point into a text
file.
Extract echo properties for laser points:
Echo length - relative length (millimeter) of a return signal compared to a typical
return from a hard surface.
Echo normality - difference in shape and position of a peak of a return signal
compared to a typical return from a hard surface.
Echo position
Classify laser points By echo length.
Extract Echoes in problem areas using a specific echo extraction logic:
Last possible - for example in areas with dense low vegetation where the default
extraction logic did not provide ground points.
All possible or All distinct - for example in places where points on some feature are
missing, such as powerline wires.
First possible.
The scanner waveform profile can be extracted from laser point samples on hard, flat, open ground
surfaces. There should be only-echo returns and some intensity variation within the sample area.
The sample areas must not be located at the edges of scan lines. The scanner waveform profile is
then automatically computed from the sample laser points.
Finally, the scanner waveform profile must be referenced by a scanner system definition which in
turn must be linked to the trajectory files.
The following figure illustrates the method how TerraScan finds waveform information for a laser
point.
Page 156
7 Waveform Processing
Workflow summary
1.
2.
3.
4.
5.
6.
7.
Draw polygons around sample areas of single, open, hard surfaces that contain only-echo
returns and some variation in intensity values. Sample areas should not be too close to scan
corridor edges.
Classify points inside the polygons into a separate class using Inside fence command or
Inside shapes classification routine.
Create a scanner waveform profile using the user controls in Scanner waveform profiles
category of TerraScan Settings.
You have to repeat steps 5 to 7 for all scanners or lines collected with different pulse rates.
8.
9.
Link the scanner waveform profiles with scanner system definitions using the user controls
in Scanner systems category of TerraScan Settings.
Link the trajectories with scanner system definitions using the Edit information command
of the Trajectories dialog.
This enables the extraction of echo properties using the Extract echo properties command
of the Project dialog or the Extract echo properties command for loaded points, and the
extraction of additional points using the Extract Echoes tool.
Page 157
7 Waveform Processing
To:
Use:
View Waveform
Extract Echoes
Page 158
7 Waveform Processing
View Waveform
View Waveform tool opens the Waveform dialog that displays the waveform shape of single laser
points. The dialog contains commands for identifying a point, showing a points location, drawing
the waveform vector into the design file, saving the waveform as text file, and changing the display settings of the waveform graph.
The waveform graph represents the waveform
of a return signal by bars of constant height
and varying length. The height of a bar corresponds to a 30 centimeters distance of light
travel. The length of a bar indicates how many
photons returned to the scanner from an object. Short bars of approximately the same
length (= small waveform sample values) represent the background noise, longer bars more
or less strong returns from objects. A red line
in the graph indicates the location of the selected laser point.
Viewing the waveform requires that trajectories are active and laser points are loaded in
TerraScan. The points must be linked to the
trajectories and the trajectories must reference
the waveform files. See Waveform
processing principles and Workflow
summary for more information.
2.
3.
Page 159
7 Waveform Processing
3.
Define a location and file name for saving the text file and click Save.
This saves the text file.
Draw a fence or polygon around the points for which you want to export the waveform.
Select the polygon.
Select Save inside fence command from the File pulldown menu.
This opens the Browse For Folder dialog, a standard dialog for selecting a storage folder.
3.
Select a folder for saving the text files and click OK.
This saves a text file for each point inside the fence/selected polygon. An information dialog
shows the number of saved text files out of the number of points. The text files are named
automatically as WAVEFORM_<timestamp>_<echo type>.TXT.
2.
Effect:
Height of a bar in the waveform graph. Given in screen pixels.
Defines the maximum length of a bar that can be displayed in the
graph. The value effects the scale of the length of the bars.
Limit value for background noise. If a waveform sample value is
smaller than or equal to the given value, a 3d vector line is drawn
in grey.
Page 160
7 Waveform Processing
Extract Echoes
Extract Echoes tool extracts additional points from a return signal.
When scanner system software is generating laser points, it follows a certain logic. It may generate
a point from the strongest, first, or last return but usually, it extracts one point from a multiplereturn signal. In general, the extraction method of system software works well for laser point
clouds.
However, in some places, the generated points might not be optimal. Examples are missing returns
from wires or from ground below dense vegetation. In both cases, the system software might extract a point from the return signal, but possibly not the point of biggest interest for certain applications. The Extract Echoes tool can be used at such places in order to extract additional points
from return signals.
There are several extraction methods available:
First possible - looks only at rising start of the return signal.
Last possible - looks only at trailing end of the return signal. This should be used, for
example, to extract additional ground points.
All distinct - constant fraction discriminator, more reliable result than All possible method.
All possible - Gaussian decomposition, can generate multiple points from overlapping
signals. This should be used, for example, to extract additional points on wires.
The extraction of additional points should only be performed in limited areas where the extraction
method of the system software did not provide optimal results. The following methods can be used
to limit the processing area for point extraction:
Place a fence in a section view in order to specify a 3D slice of space where to generate new
points. The section depth defines the XY area and the fence the elevation range for point
extraction.
Draw a fence or select polygon(s) to specify a 2D area where to generate points. In this case,
the new points can be located at any elevation, only the XY area is defined.
The process creates new points only if it finds returns in the waveform that match the settings for
the extraction. For example, if there is no part of the laser beam that penetrated to the ground because of dense vegetation, the Last possible method will probably not generate a point on the
ground level.
The extraction of additional points requires that trajectories are active and laser points are loaded
in TerraScan. The points must be linked to the trajectories and the trajectories must reference the
waveform files and the scanner systems. The scanner waveform profile must be available and
linked to the scanner system. See Waveform processing principles and Workflow summary for
more information.
Draw a fence or polygon(s) around the area(s) for which you want to extract points as
described above. Select the polygon(s).
Select Extract Echoes tool.
The Extract Echoes dialog opens:
Page 161
7 Waveform Processing
3.
4.
Use Save points As commands in order to save the laser points into a file.
The new points are created as inactive points. You must save the points with setting Points
set to All points in the Save points dialog. Otherwise, the additional points extracted by
Extract Echoes tool are not stored.
Setting:
To class
Method
Strength
Separation
Effect:
Target class for extracted points. The list contains the active
classes in TerraScan.
Method of point extraction. See explanations above.
Required number of photons in addition to the background noise.
Only if the return signal is stronger than the background noise plus
the given value, a points is extracted.
Minimum distance along the waveform between an existing point
and a new point.
Page 162
8 Roads and Railroads
2.
3.
4.
5.
The tools described in this chapter are related to the last point in the workflow outline above.
Page 163
8 Roads and Railroads
Page 164
8 Roads and Railroads
To:
Use:
Page 165
8 Roads and Railroads
Load laser points into TerraScan. Only points in the class for road breakline detection are
required.
Select Find Automatic Breaklines tool.
This opens the Find Automatic Breaklines dialog:
3.
Step size
Find slope changes
Min change
Min length
Thin accuracy
Level
Symbology
Effect:
Point class that contains points on the road surface. Used for
breakline detection. The list contains the active classes in
TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Ground field.
Distance between locations where the software tries to find a slope
change in the laser data in order to insert a vertex for a breakline
element.
If on, the software detects slope changes in the laser data.
Minimum change in slope gradient. Given in degree.
Minimum length of a breakline element.
Defines the degree of thinning applied to a breakline element. A
vertex is removed, if the location of the line does not change more
than the given value.
Design file level on which the breakline elements are drawn.
Color, line weight, and line style of the breakline elements. Uses
the active color table and standard line weights and styles of
MicroStation.
Page 166
8 Roads and Railroads
The parameters for 3D breakline creation are defined for each breakline type.
The process requires laser points loaded in TerraScan. The laser points on the road surface should
be classified into a separate class by using preferably the Hard surface classification routine. Further, the breakline placement along road edges benefits from color values assigned to the laser
points.
After automatic breakline detection, you probably need to check and manipulate the breaklines
manually.
Load laser points into TerraScan. Only points in the class for road breakline detection are
required.
Select Find Road Breaklines tool.
This opens the Find Road Breakline dialog:
3.
Select Add command from the Feature pulldown menu in order to define a new feature for
road breakline detection.
You can modify an existing feature by selecting the feature and using the Edit command
from the Feature pulldown menu. To delete a feature, select the Delete command from the
Feature pulldown menu.
Add and Edit commands open the Road feature dialog. The settings in the Road feature
dialog partly depend on the selected breakline type.
Page 167
8 Roads and Railroads
4.
5.
6.
7.
Repeat steps 3 to 4 for all road breakline features you want to detect.
(Optional) Save the road feature definitions into a text file using the Save as command from
the File pulldown menu. You can save changes to an existing text file by selecting the Save
command from the File pulldown menu.
Click Execute in order to run the breakline detection.
This starts the breakline detection process. The software draws breakline elements if it finds
the 3D location of the breakline features in the loaded laser points.
Setting:
Description
Source level
Breakline type
Fit to class
Effect:
Descriptive name of the road feature.
Design file level, on which the line elements are drawn that define
the approximate location of the breakline feature.
Type of the breakline feature:
Crown of the road - runs along a small slope change.
Left edge of pavement - runs along the edge of pavement on
the left side of a road.
Right edge of pavement - runs along the edge of pavement on
the right side of a road.
Planar surface
Section centerline
Section breakline
Point class that contains points on the road surface. Used for
breakline detection. The list contains the active classes in
TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Fit to class field.
Page 168
8 Roads and Railroads
Setting:
Result within
Plane width
Slope change
Length
Use color
Fit tolerance
Step
Percentile
Max offset
Smoothing
Thin
Result level
Color
Weight
Style
Effect:
Maximum horizontal offset between the approximate line element
and the true breakline location.
Width of a plane next to the breakline location. One value applies
for the left and right side for Crown of the road and Planar
surface features. There are two values for Left/Right edge of
pavement features, one for the pavement side and another for the
outside-road side. This is not available if Breakline type is set to
Section centerline or Section breakline.
Minimum change in slope gradient. Given in degree. This is only
available if Breakline type is set to Crown of road.
Minimum length of a breakline element. This is only available if
Breakline type is set to Crown of road.
If on, the software uses RGB color values assigned to laser points
in order to find the breakline location. This is only available if
Breakline type is set to Left/Right edge of pavement.
Tolerance value for fitting the breakline element into the laser
points. Relates to the noise in the data. This is only available if
Breakline type is set to Section centerline.
This is only available if Breakline type is set to Section
centerline.
This is only available if Breakline type is set to Section
centerline.
Maximum offset between the approximate line element and the
true breakline location.
Defines the degree of smoothing applied to a breakline element:
None, Normal, or Agressive.
If on, a vertex is removed, if the location of the line does not
change more than the given value.
Design file level on which the breakline elements are drawn.
Color of the breakline elements. Uses the active color table of
MicroStation.
Line weight of the breakline elements. Uses the standard line
weights of MicroStation.
Line style of the breakline elements. Uses the standard line styles
of MicroStation.
Page 169
8 Roads and Railroads
3.
4.
5.
Attach the section design file as a reference to the normal project design file.
Open two top views, one showing the location of the road and the alignment element used
for creating section points, and the other one showing the digitized lines in the attached reference design file.
Select the alignment element using MicroStation Selection tool.
Draw fence around the lines in the reference design file.
Select Import Road Breaklines tool.
This opens the Import Road Breaklines dialog:
6.
7.
Define settings. The values must be the same as used for creating the section points with the
Write section points macro action in order to compute correct coordinate values for the
breakline elements.
Click OK.
This converts the lines inside the fence from the artificial coordinates to the original
coordinates and draws them into the master design file.
Setting:
Stations
Elevations
Effect:
Scale factor along the alignment element. Used for decompressing
the digitized lines to their normal length.
Scale factor for elevation values. Used for resolve the exaggeration
of elevation values of the digitized lines.
Page 170
8 Roads and Railroads
Load laser points into TerraScan. Only points on the road surface are required.
Select the alignment element with the MicroStation Selection tool.
Select Draw Slope Arrows tool.
This opens the Draw slope arrows dialog:
4.
Page 171
8 Roads and Railroads
Setting:
Class
Process
Step
Direction
Offset
Length
Fit depth
Fit tolerance
Label unit
Label decimals
Arrowhead length
Arrowhead width
Flat color
Normal color
Steep color
"
Effect:
Point class that contains points on the road surface. Used for fitting
the elevation of slope arrows. The list contains the active classes in
TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Class field.
Area to process:
All locations - slope arrows are created wherever there is laser
data available.
Inside active block - slope arrows are created only inside the
active block. This excludes areas covered by neighbour points
that are loaded in addition to the points of an active project
block.
Distance between locations where the software places a slope
arrow.
Direction of the slope arrows relative to the alignment element or
the road direction:
Longitudinal - in road direction.
Perpendicular - perpendicular to the road direction.
Defines the horizontal distance of the start and end point of an
arrow relative to the alignment element. This is only one value for
Longitudinal arrows and two values for Perpendicular arrows.
The two offset values also determine the length of slope arrows
with Perpendicular direction. Positive offset values create slope
arrows to the right side of the alignment element, negative values
to the left side.
Length of slope arrows with longitudinal direction. This is only
active if Direction is set to Longitudinal.
Depth of a section in the laser data where the software fits the
arrow to the points on the road surface.
Tolerance value for fitting the arrow to the laser points. Relates to
the noise in the data.
Unit for expressing the slope gradient: Degree or Percentage.
Number of decimals for slope labels.
Length of the arrow head as part of the slope arrow.
Width of the arrow head.
Color of a slope arrow if the slope gradient is less or equal to the
given value.
Color of a slope arrow if the slope gradient is between the given
flat and steep values.
Color of a slope arrow if the slope gradient is larger than the given
value.
You can undo the creation of slope arrows by using the Undo command from the Edit pulldown
menu of MicroStation.
Page 172
8 Roads and Railroads
Create a line element along the lane centerline as viewer traveling path and (optional)
another line element as target path.
Drape the line element(s) to the ground on the road surface.
(Optional) Load points into TerraScan if you want to run the tool on loaded points.
Select the line element that defines the viewer traveling path.
Select Draw Sight Distances tool.
This opens the Draw sight distances dialog:
Page 173
8 Roads and Railroads
6.
Class
Tolerance
Viewer height
Viewer step
Target level
Target height
Effect:
Laser points used for the sight distance analysis process:
Loaded points - points loaded into TerraScan.
Active project - points referenced by the active TerraScan
project.
Point classes that are included in the sight analysis. This should
include all points on potential obstacles. The list contains the
active classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Class field.
Radius around a straight line between viewer and target position
within which a laser point may be considered a sight obstacle.
Height of the viewer above the viewer path element.
Distance between locations along the viewer path element where
the software analyses the sight of the viewer.
Design file level on which the line element is drawn that defines
the target path.
Height of a target object above the target path element.
Page 174
8 Roads and Railroads
Setting:
Target step
Maximum distance
Maximum angle
Short distance
Label sight distances
Level
Accuracy
Short color
Long color
No obstruction label
Draw lines for short
distances
Level
"
Effect:
Distance between locations along the target path element where
the software analyses the sight towards a target object.
Maximum distances from the viewer considered in the sight
analysis.
Angle of sight forward from the viewer. Defines the area that is
analysed regarding sight obstacles.
Defines the maximum value of a critical sight distance. Sight
distances smaller or equal to the given value can be labeled with a
different color in order to highlight the locations.
If on, text elements are drawn into the design file that label the
sight distance at each viewer position.
Level on which sight distance labels are drawn.
Accuracy of sight distance labels. Values are rounded to the given
accuracy, e.g. to the closest 5 m value.
Color of short sight distance labels. Applied to all distances
smaller or equal to the given Short distance value.
Color of sight distance labels if the distance is longer than the
given Short distance value.
Label of viewer positions for which no obstruction is found.
If on, lines are drawn from viewer to target positions if the distance
is smaller or equal to the given Short distance value.
Level on which lines for short distances are drawn.
You can undo the creation of sight distance labels and lines by using the Undo command from the
Edit pulldown menu of MicroStation.
Page 175
8 Roads and Railroads
3.
4.
Define settings.
Place a data click inside the MicroStation view.
This creates the curvature labels. The software draws text elements along the alignment
element. The level, color, and text size of the labels are determined by the active symbology
and text size settings in MicroStation.
An information dialog shows the number of created curvature labels.
Setting:
Compute
Label every
Fit length
Max value
Big value text
Accuracy
Position
Effect:
Curvature to compute: Horizontal curvature or Vertical
curvature.
Distance between locations along the alignment element where the
software places a curvature label.
Distance along the alignment element from which the software
computes the curvature radius.
Maximum curvature radius that is labeled.
Text used for radius values larger than the given Max value.
Accuracy of curvature labels. Values are rounded to the given
accuracy, e.g. to the closest 10 m value.
Determines the placement location of the labels relative to the
alignment element:
On alignment - on the alignment element.
Left - left of the alignment according to digitization direction.
Right - right of the alignment according to digitization
direction.
Inside - on the inside of a curve.
Outside - on the outside of a curve.
Page 176
8 Roads and Railroads
Setting:
Rotation
Sign
"
Effect:
Determines the placement rotation of the labels relative to the
alignment element:
Along alignment - reading direction is parallel to the
alignment.
Across alignment - reading direction is perpendicular to the
alignment.
Sign added in front of the curvature radius value:
No sign - no sign is added.
Left negative - a minus sign is added to left-hand curves.
Right negative - a minus sign is added to right-hand curves.
You can undo the creation of curvature labels by using the Undo command from the Edit pulldown menu of MicroStation.
Page 177
8 Roads and Railroads
Use the MicroStation Selection tool in order to select a centerline element that represents
the surveyed object.
Select the Fit Geometry Components tool.
This starts the module and opens the Components fitting dialog.
The processing workflow of component fitting and the commands of the dialog are explained in
detail in Chapter Geometry Component Fitting on page 390.
Page 178
8 Roads and Railroads
To:
Use:
Find Rails
Find Wires
Page 179
8 Roads and Railroads
2.
Define the location of the first point on the line string with a data click.
The application draws a dynamic rectangle whenever you move the mouse pointer inside the
view. If you place a data click outside the rectangle, the application pans the view in the
direction of the data click. If Rotate view when panning is switched on in the tools dialog,
the view is also rotated in the direction of the data click. If you place a point inside the
rectangle, you add a new vertex to the line string.
3.
4.
Classify potential points on rail into a separate point class using By intensity or Railroad
classification routines.
This initial classification probably includes a number of points which are not points on rails.
However, the should provide a visual impression of the railroad track location.
2.
3.
Switch on the display of the points on rails and switch off the display of all other point
classes in a top view.
(Optional) Define a custom line style in MicroStation.
A recommended line style consists of two lines which are the railroad width apart from each
other. This supports the placement of parallel lines for the rails and allows viewing the
railroad string as a centerline of the track or as a pair of lines for the rails simply by switching
line styles on or off in a view.
4.
5.
Select level, color, and the custom line style as the active symbology in MicroStation.
Select the Place Railroad String tool and digitize the railroad string according to the
instructions above.
Page 180
8 Roads and Railroads
Classify points on rails more accurately by using Railroad classification routine with the
approximate centerline as alignment element.
This classifies points with a specific elevation pattern and within a given offset (half of the
rail width) from the alignment.
2.
Use Fit Railroad String tool in order to fit the centerline to the classified points on the rails.
OR
1.
2.
3.
Classify ground using the Ground classification routine and drape the centerline to the
ground elevation using the Drape Linear Element tool.
Classify points on the rails more accurately by using the By centerline classification routine with appropriate offset and elevation difference values.
Use Fit Railroad String tool in order to fit the centerline to the classified points on the rails.
The tool uses points on rails within an offset distance in order to find the best location for the centerline. The offset depends on the width of the rail track and the initial accuracy of the centerline
elements. The offset is defined in the tools dialog as (0.5 * Rail width) Tolerance. The elevation of the fitted centerline is derived from the elevation values of the laser points.
3.
Effect:
Point class that contains points on rails.
Rail track width, distance from the center of one rail to the
center of the other rail.
Page 181
8 Roads and Railroads
Setting:
Tolerance
Vertex interval
Smoothen curvature
Effect:
Tolerance value for the offset between centerline and
rails. This should be big enough to compensate some
locational inaccuracy in the inital centerline and in laser
points. However, it should be less than half of Rail width.
Maximum distance between vertices of the fitted
centerline. Normally between 5.0 and 25.0 meters.
If on, the fitted centerline is smoothened by balancing
angular direction changes between consecutive vertices.
Normally, this should be switched on.
Page 182
8 Roads and Railroads
Find Rails
Find rails tool is used for the automatic vectorization of rails based on MLS point clouds.
The software looks at consecutive cross sections of laser data along an alignment element. For
each cross section, it tries to find the position where a user-defined cross section profile of the
track matches the best number of laser points.
The vectorization process starts from an alignment element which represents the approximate centerline of a rail track. Any digitized centerline can be used as alignment. You can use, for example,
Draw into design command for trajectories and apply a lever arm correction in order to derive a
centerline from the trajectory. The lever arms are the three components of the vector between the
IMU and the center of the rail track.
Alternatively, trajectories can be used directly for the rail detection. They must be imported with
the correct system definition values for IMU misalignment. See Scanner systems category of TerraScan Settings for more information. In addition, they must be projected on the ground and to
the center of the rail track. This can be established by applying a lever arm correction to the original trajectories by using the Add lever arm command. In the vectorization process based on trajectories, the software uses the roll angle of the trajectory positions as cant (superelevation) angle
of the rail track.
The tool further requires a cross section profile defined in TerraScan Settings. The profile includes the two rails of a track, possibly places where there are no laser point (shadow parts of
rails), and the location of lines that the software creates in the vectorization process. The creation
of a rail track cross section is described in Rail section templates category of TerraScan Settings.
Any overlapping strips in the laser data should be matched and overlap should be cut off before
running the rail vectorization. The By centerline classification routine should be used for an approximate classification of the points on rails. You can use, for example, the lever arm-corrected
trajectory drawn in the design file for the classification by centerline.
The Find Rails tool runs on points loaded into TerraScan. It creates line string elements at the location(s) defined in the cross section profile.
Load laser points into TerraScan. Only points on and close to the rails are required.
Select the alignment element with the MicroStation Selection tool if you want to use a
selected element as alignment.
OR
2.
3.
Page 183
8 Roads and Railroads
4.
Rail section
Find along
Trajectories
Max roll
Step
Section depth
Max offset
Max dz
"
Effect:
Point class that contains points on and close to the rails. Used for
fitting the rail track cross section. The list contains the active
classes in TerraScan.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the From class field.
Name of the rail track cross section. The list contains all sections
that are defined in Rail section templates category of TerraScan
Settings.
Defines the alignment element used for the vectorization:
Trajectories - active trajectories in TerraScan.
Selected vectors - a selected line string element.
Trajectory numbers that are used for the vectorization. Separate
several numbers by comma. Type 0-65535 for using all
trajectories. This is only active if Find along is set to Trajectories.
Maximum value of the cant anlge (= rail track superelevation).
This is only active if Find along is set to Selected vectors.
Distance between locations along the alignment where the
software tries to fit the rail track cross section to the laser points.
Depth of a section in the laser data where the software fits the rail
track cross section to the laser points.
Maximum horizontal distance between the alignment and a line
element that the software should draw as result of the vectorization
process (usually a line on the rails or the track centerline).
Maximum vertical distance between the alignment and a line
element that the software should draw as result of the vectorization
process (usually a line on the rails or the track centerline).
You can undo the vectorization of rails by using the Undo command from the Edit pulldown
menu of MicroStation.
Page 184
8 Roads and Railroads
Find Wires
Find wires tool is used for the automatic detection of overhead wires based on dense point clouds.
The tool can be used for any kind of overhead wires, such as rail or tram wires, in contrast to the
Detect Wires tools which is exclusively for the detection of powerline wires.
The detection process starts from classified laser points and, optionally, from an alignment element which runs in the direction of the wires. Any overlapping strips in the laser data should be
matched and overlap should be cut off before running the wire vectorization.
If data was captured by an MLS system mounted on a survey train, the overlap of parallel strips
should be cut off in a way that points from a more distant drive path can be used for the wire detection. This leads to a more reliable result since wires are raised by the survey train in the closest
drive path. As an alternative to cutting off overlap, the By section template classification routine
can be used for classification of points from the closest drive path into a separate class.
Further, laser points should be classified into ground and above ground points. One of the aboveground point classes should contain the points on wires (e.g. the high vegetation class) and is then
used as source class for the wire detection.
The Find Wires tool runs on points loaded into TerraScan. It classifies laser points on wires into
a separate class and creates line string elements that are fitted to the laser points on wires. The software stops each wire at a small distance from its end points. The wire ends can be placed more
accurately by using the Check Wire Ends tool.
Load laser points into TerraScan. Only points on the wires are required.
(Optional) Select an alignment element with the MicroStation Selection tool if you want to
detect wires running parallel or perpendicular to the alignment.
Select Find Wires tool.
This opens the Find Wires dialog:
4.
Effect:
Point class that contains points on the wires. Used for fitting the
lines. The list contains the active classes in TerraScan.
Page 185
8 Roads and Railroads
Setting:
To class
Use points every
Tolerance from wire
Min wire length
Max angle
Find
Angle tolerance
Within offset
"
Effect:
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the From class field.
Target class into which points on detected wires are classified.
Distance between locations along a wire where the software tries
to fit the line element to the laser points.
Distance around a wire within which the software uses points for
fitting the line element.
Minimum lenght of a line element at a wire location.
Maximum vertical angle off from horizontal of a line element at a
wire location.
Defines what wires the software is searching for:
All wires - wires in all directions.
Parallel to alignment(s) - wires that run parallel to selected
alignment element(s).
Perpendicular to alignment(s) - wires that run perpendicular
to selected alignment element(s).
Maximum horizontal angular difference between the alignment
and a line element at a wire location. This is only active if an
alignment element is selected and if Find is set to Parallel to
alignment(s) or Perpendicular to alignment(s).
Maximum horizontal distance between the alignment and a line
element at a wire location. This is only active if an alignment
element is selected and if Find is set to Parallel to alignment(s)
or Perpendicular to alignment(s).
You can undo the detection of wires by using the Undo command from the Edit pulldown menu
of MicroStation (vectorization) and the Undo command from the Point pulldown menu of TerraScan (classification).
Page 186
8 Roads and Railroads
2.
Effect:
Design file level on which the lines for wires have been drawn. All
lines on this level are added to the check list.
A top view showing the end of a wire is displayed in the given
view.
A camera view showing the end of a wire in displayed in the given
view. This view can be used to display images if a mission, camera,
and image list are loaded into TerraPhoto.
A longitudinal section of the end of a wire is displayed in the given
view.
A rotated top view showing a wire completely in a horizontal section is displayed in the given view.
A longitudinal section showing a wire completely is displayed in
the given view.
If on, the line of an approved wire is moved to the level defined in
the To level list.
If off, the level of approved wires remains unchanged.
Page 187
8 Roads and Railroads
Setting:
Approve modifies
Remove moves
Remove modifies
Effect:
If on, the line color of an approved wire is modified to the given
Color. The list contains the active color table of MicroStation.
If off, the color of approved wires remains unchanged.
If on, the line of a removed wire is moved to the level defined in
the To level list.
If off, the level of removed wires remains unchanged.
If on, the line color of an removed wire is modified to the given
Color. The list contains the active color table of MicroStation.
If off, the color or removed wires remains unchanged.
To show the location of a wire end point, select a line in the Check wire ends dialog. Click on the
Show location button and move the mouse pointer into a view. This highlights the selected wire
end point with a cross.
To identify a wire end point, click on the Identify button and place a data click close to a wire end
point in a view. This selects the corresponding line in the Check wire ends dialog.
After checking a wire end point and possibly improving its location, click on the Approve button.
This changes the status of the selected end point to Approved. If both end points of a wire are approved, the wire line is moved to another level and/or the color is changed, if the settings in the
Check wire end settings dialog are defined accordingly.
Page 188
8 Roads and Railroads
If you want to delete a wire, you click on the Remove button. This removes the selected wire from
the list and the wire line is moved to another level and/or the color is changed, if the settings in
the Check wire end settings dialog are defined accordingly. The Remove button does not delete
the wire line from the design file.
To modify wire lines and their end points, you can use the other buttons of the dialog. You can
undo the modification of wires by using the Undo command from the Edit pulldown menu of MicroStation.
3.
3.
3.
To join wires:
1.
2.
3.
4.
Move the mouse pointer close to the end point of the wire to which you want to join the
selected wire.
Confirm a connection line by a data click.
This joins two wire lines. If the status of the effected wires was already Approved, it is set
back to Need to check.
"
Manual changes of the wire lines do not effect the classification of laser points. If you want to refine the classification of laser points on wires, you can run a By centerline classification using the
wire lines as centerlines with offset and elevation difference settings of a few centimeters.
Page 189
9 3D Building Models
3D Building Models
There are two approaches in TerraScan for producing 3D vector models of buildings. The main
difference between the approaches is their degree of automation and the speed of creating vector
models for a large number of buildings.
Approach
Automatic vectorization of multiple
buildings with manual improvements
Half-automatic vectorization of single
buildings
Tool sets
Buildings tool box
Building Patches tool box
Building Edges tool box
Construct Planar Building tool
Building Planes tool box
Building Boundaries tool box
According to the common way for describing building models, the models of TerraScan are at level-of-detail (LOD) 2. In LOD 2, roof shapes and the overall structure of roofs are represented but
walls are just plain vertical polygons.
4.
5.
6.
7.
The quality of the automatic building vectorization depends on the quality of the laser data processing that is done in preparation of the vectorization, but also on the point density of the data. A
higher point density results in more accurate models. The following number may serve as a guideline for estimating the possible results of the automatic vectorization:
Page 190
9 3D Building Models
Low density < 2 points / m - good models of large buildings, more problems with small
buildings, loss of small details and roof structures
Medium density 2-10 points / m - good models
High density > 10 points / m - accurate models with details and roof structures
As alternative to laser data, TerraScan can also utilize line elements for the creation of 3D building
models. The line elements must represent different types of roof edges, such as outer edges, internal edges along elevation jumps, and intersection lines, and they must form a closed line work for
each building. From the line network, the Construct Roof Polygons tool tries to create closed polygons which represent roof planes. Finally, the Create Buildings from Polygons can be used to create the 3D vector models from the roof polygons.
The major advantage of this building vectorization approach is the automatic production of 3D
building models for large areas in a comparatively short time. The process can also model complex roofs that are non-planar and contain a lot of detailed roof patches. The tools for improving
the result of the automatic process are versatile and make the manual work fast and simple.
A disadvantage of the vectorization process is that it fully relies on the quality of the source data,
which is either laser data or a line work for building roofs. If, for example, laser data is missing
on parts of a building roof, there is no way to create at least an approximate building model based
on the represented roof parts.
4.
5.
6.
7.
Although this building vectorization approach requires a lot of manual interaction, is has some advantages compared with the automatic approach described above. There are a few tools which allow the creation of roof planes without the availability of laser data. These tools can derive the
plane equation from other sources than laser data and thus, enable the creation of building models
in cases of missing laser data on roofs.
Another disadvantage of the approach is that it is impossible to model non-planar roofs or roofs
that do not have dominating planar surfaces following a base direction.
Page 191
9 3D Building Models
To:
Use:
Vectorize Buildings
Page 192
9 3D Building Models
Vectorize Buildings
Not Lite
Vectorize Buildings tool creates 3D building models based on loaded laser data. The laser points
have to be classified into:
ground points using the Ground classification routine.
above-ground points which may be hits on building roofs using the By height from ground
classification routine. This classification also includes points from high vegetation and other
high objects.
points on building roofs using the Buildings classification routine.
The tool creates MicroStation cell elements that contain shapes for each roof plane, possibly roof
sides which determine the roofs thickness according to settings in Building vectorization /
Model, and wall shapes for each outer roof edge.
Building vectorization can be also performed on project level by using the Vectorize buildings
macro action.
3.
Effect:
Point class consisting points on building roofs.
Point class consisting points on building roofs that are
ignored in the vectorization process.
Page 193
9 3D Building Models
Setting:
Lower classes
Process
Use polygons
Level
Maximum gap
Planarity tolerance
Increase tolerance
Minimum area
Minimum detail
Max roof slope
Adjust edges using active
images
Random wall color
Effect:
Point class(es) consisting points next to building roof
edges, for example, ground or low vegetation. The points
are used to determine the base elevation of building walls
and help to place outer roof edges more accurately.
Opens the Select classes dialog which contains the list of
active classes in TerraScan. You can select multiple
source classes from the list that are then used in the Lower
classes field.
Area to be processed:
All points - all loaded points are processed. This may
include points from neighbour blocks.
Active block - points of the active block are processed.
Inside fence - points inside a fence or selected polygon
are processed. This is only active if a MicroStation
fence is drawn or a polygon is selected.
Defines how polygons are used in addition to laser data:
Do not use - no polygons are used.
As bounding polygons - polygons define boundaries
that divide large building blocks into separate models.
Example: land property polygons.
As roof edges - polygons define the XY shape of outer
edges of buildings. Examle: footprint polygons.
Design file level on which the polygons are located that
are used in the vectorization process. This is only active if
Use polygons is set to As bounding polygons or As roof
edges.
Maximum distance between building parts belonging to
the same model. If the distance is larger, separate building
models are created.
Defines how closely a point must match a plane equation
to belong to that roof plane.
Additional tolerance for merging close to horizontal
planes together.
Minimum size of a building footprint.
Minimum size of a building part footprint.
Maximum gradient of a roof plane.
If on, building edges are adjusted based on images. The
images must be referenced by an image list loaded into
TerraPhoto.
If on, wall shapes are colored randomly by using a
selection of colors from the active color table of
MicroStation. If off, the color defined in Building
vectorization / Model category of TerraScan Settings is
used for all wall shapes.
Page 194
9 3D Building Models
"
You can undo the creation of roof polygons by using the Undo command from the Edit pulldown
menu of MicroStation.
Page 195
9 3D Building Models
3.
"
Effect:
Point class(es) consisting points next to buildings, for
example, ground or low vegetation. The points are used to
get the base elevation of the building walls.
Opens the Select classes dialog which contains the list of
active classes in TerraScan. You can select multiple
source classes from the list that are then used in the Lower
classes field.
If on, wall shapes are colored randomly by using a
selection of colors from the active color table of
MicroStation. If off, the color defined in Building
vectorization / Model category of TerraScan Settings is
used for all wall shapes.
You can undo the creation of building models by using the Undo command from the Edit pulldown menu of MicroStation.
Page 196
9 3D Building Models
2.
Search
Show
Top view
Effect:
Area where the software searches for building models:
Whole design file - all models in the design file.
Active block - all models inside the active project block. This
is defined by the TerraScan project block that is loaded or was
last loaded into TerraScan.
Building models shown in the list of the Check Building Models
dialog:
All buildings - all building models on levels defined in
Building vectorization / Levels.
Unchecked buildings - building models on Model to check
levels defined in Building vectorization / Levels.
A top view showing the active building model is displayed in the
given view.
Page 197
9 3D Building Models
Setting:
Isometric view
Camera view
Detail view
Arrange views
Level
Outer edges
Internal edges
Intersection lines
Effect:
An isometric view showing the active building model. It is
recommended to set the display style for this view to Smooth
rendering in MicroStation view controls.
A camera view showing the active building model is displayed in
the given view. This view works only if a mission, camera, and image list are loaded into TerraPhoto.
A camera view showing the location of an active building model
in detail is displayed in the given view. The zoom level is determined by the given Zoom to value. This view works only if a mission, camera, and image list are loaded into TerraPhoto and if you
select a building edge or corner for modification.
If on, the MicroStation views are arranged on the screen according
to the given view settings. The software opens the views and places them within the MicroStation interface without overlap.
Design file level on which the colored edges of an active model are
drawn. The level should be switched on in the views that display
the active model.
Display color, line weight, and line style of outer edges of the
active model. Uses the active color table and standard line weights
and styles of MicroStation.
Display color, line weight, and line style of internal edges of the
active model. Uses the active color table and standard line weights
and styles of MicroStation.
Display color, line weight, and line style of intersection lines of the
active model. Uses the active color table and standard line weights
and styles of MicroStation.
To show the location of a building model, select a line in the Check Building Models dialog. This
updates the display in all views that are set up for checking building models.
Page 198
9 3D Building Models
To identify a building model, click on the Identify button and place a data click close to a model
in a view. This selects the corresponding model in the Check Building Models dialog.
After checking a building model and possibly modifying it, click on the Approve button. This
changes the status of the selected model to Approved. It moves the model to the Approved models
levels defined in Building vectorization / Levels category of TerraScan Settings.
Use the Approve all command from the Tools pulldown menu in order to change the status of all
models in the list to Approved.
You can recompute a model by using the Recompute button. This might be necessary, if the settings of the automatic vectorization process did not provide a reasonable model for this building.
These settings can be checked by using the Computation settings command from the Tools pulldown menu. The command opens the Vectorize Buildings dialog with the settings used in the automatic vectorization process.
Load laser data into TerraScan for the location of the building model.
Click on the >> button in order to open the Vectorize Buildings dialog.
The settings of the dialog are described for the Vectorize Buildings tool.
3.
4.
If you want to delete a model, click on the Delete button. This deletes the selected model from the
list and from the design file. If you undo the delete action, the model is returned into the design
file but not into the list of the dialog. You need to re-open the dialog in order to see the model
again in the list.
You can use the buttons in the lower right corner in order to select images from the TerraPhoto
image list. The image is displayed in the camera views used for checking building models. By default, the software selects the image for display that sees the building (detail) location best.
Click on the camera button in the middle of the button group in order to identify an image for display. Move the mouse pointer into a view. The image footprint closest to the mouse pointer is dynamically displayed. Select an image for display with a data click.
Click on the arrow buttons left and right in the button group in order to select the previous or next
image from the currently displayed image in the images list.
Page 199
9 3D Building Models
To:
"
Use:
Split Building
Split Patch
Merge Patches
Remove Patch
Remove Details
Extrude Building
Building Patches tools work only when the Check Building Models dialog is open. You can
undo the actions of the tools by using the Undo command from the Edit pulldown menu of MicroStation.
Page 200
9 3D Building Models
Split Building
Split Building tool cuts out a part of a building complex. This part is then treated as own separate
building model.
Draw a fence around the building part that you want to cut out.
Select Split Building tool.
Move the mouse pointer inside a MicroStation view.
The two building parts are highlighted with blue and red coloring.
4.
Accept the two building parts with a data click inside a view.
This splits the building. The area outside the fence stays as active building. The area
completely inside the fence becomes a new building model that is put at the end of the list in
the Check Building Models dialog.
Split Patch
Split Patch tool splits a patch at edge vertices into two separate patches. The process can recompute the plane equations for the two patches if laser points of the roof class are loaded in TerraScan.
To split a patch:
1.
2.
(Optional) Load laser data into TerraScan. Only points in the building roof class are
required.
Select Split Patch tool.
The Split Patch dialog opens:
3.
4.
Define, whether the process should Recompute plane equations using points or not. The
setting is only available if points are loaded in TerraScan.
Move the mouse pointer inside a view.
A potential vertex for splitting is dynamically highlighted if the mouse pointer comes close
to it.
5.
6.
Page 201
9 3D Building Models
Merge Patches
Merge Patches tool combines two neighboring patches into one patch. The process recomputes
the plane equation for the new patch as average of the two original planes.
3.
4.
Remove Patch
Remove Patch tool removes a single building patch.
3.
"
You can remove all patches of an active building model. Nevertheless, the model still exists in the
list and stays active. You can apply additional processing steps, such as recomputing the model
using the Recompute button of the Check Building Models dialog or creating a new model with
the help of the Extrude Building tool. If you want to delete a model completely, use the Delete
button of the Check Building Models dialog.
Page 202
9 3D Building Models
Remove Details
Remove Details tool removes all patches of a building roof which are of the same size or smaller
than a patch identified by a data click. This can be used, for example, for removing patches of unnecessary structures on a roof, such as roof windows.
2.
3.
4.
Remove
"
Effect:
Defines what patches are effected by the removal action:
All small patches - all patches that are of the same size or
smaller than the patch selected by the data click.
Internal patches - only patches that are completely inside a
building roof are effected. The same size rules as for All small
patches apply.
Outer patches - only patches that share an outer boundary of
the building roof are effected. The same size rules as for All
small patches apply.
You can remove all patches of an active building model. Nevertheless, the model still exists in the
list and stays active. You can apply additional processing steps, such as recomputing the model
using the Recompute button of the Check Building Models dialog or creating a new model with
the help of the Extrude Building tool. If you want to delete a model completely, use the Delete
button of the Check Building Models dialog.
Page 203
9 3D Building Models
5.
6.
Fit to show
Effect:
Defines the area that is used to select a location for the cross
section:
Active building points - area covered by all points that are
inside the active building.
Inside fence - area covered by a MicroStation fence. This
requires a fence element drawn into the design file.
Page 204
9 3D Building Models
Extrude Building
Extrude Building tool creates a building model by extruding a cross section line. The tool is especially useful for modeling buildings with round roofs. For such roof shapes, the automatic vectorization process usually does not provide a good result.
The cross section line of the building roof needs to be digitized manually based on a vertical section view of the laser data. The line string element should be placed on a design file level that is
not used for building models. It can also be deleted after the building model has been created.
Remove all patches that you want to replace from the existing model by using Remove
Patch or Remove Details tools.
Create a cross section view of the building by using the Draw Building Section tool.
It is recommended to display the section in an additional MicroStation view.
3.
4.
5.
6.
7.
Digitize the shape of the cross section based on the laser data that is displayed in the section
view. You can use any MicroStation tool for line string placement.
Select Extrude Building tool.
Select the cross section line with a data click.
Define the first edge of the building with a data click, preferable in a top view.
Define the second edge of the building with a data click, preferable in a top view.
This creates a building model between the two edges defined by the data clicks. For each
intermediate vertex of the cross section line, an intersection line is created in the building
model. The outer boundaries of the new model are defined by the first and last vertex of the
cross section line.
"
You can use this tool to add or replace parts of an active building model.
Page 205
9 3D Building Models
To:
"
Use:
Modify Edge
Building Edges tools work only when the Check Building Models dialog is open. You can undo
the actions of the tools by using the Undo command from the Edit pulldown menu of MicroStation.
Page 206
9 3D Building Models
2.
3.
4.
Apply the edge adjustment with a data click inside the view.
This sets the edges and thus, the shape of the patches.
Setting:
Set to
Effect:
Defines the shape of the patches:
Rectangle - all patches are set to rectangles.
Rectangular - all patches are set to rectangular shapes.
Page 207
9 3D Building Models
2.
3.
Define an offset within which the vertices are moved to match the straight line.
Move the mouse pointer inside a view.
The vertex closest to the mouse pointer is dynamically highlighted.
4.
Define the first vertex of the straight connection line with a data click.
If you move the mouse pointer, the area within which vertices are effected is dynamically
displayed.
5.
Define the second vertex of the straight connection line with a data click.
This moves all vertices within the given offset to the straight line and deletes unnecessary
intermediate vertices along the edge. You can continue with steps 2 or 4.
Setting:
Within
Effect:
Offset within which vertices are effected. Half of the given offset
value applies to the left side and half to the right side of the straight
line.
Page 208
9 3D Building Models
2.
3.
Define whether all segments or only one segment is effected by the tool.
Move the mouse pointer inside a view.
The location of the intersection line between two patches closest to the mouse pointer is
dynamically highlighted.
4.
Apply to
"
Effect:
Defines the edge segments effected by the tool:
All segments - all edge segments are replaced by the
intersection line.
One segment - only one edge segment is replaced by the
intersection line.
The tool adjusts vertices in order to apply an intersection line between two patches. If several intersection lines are connected in one vertex, it might be necessary to apply the tool several times
to the edges. Then, the location of the vertices is more and more refined until intersection lines can
be applied to all edges.
Page 209
9 3D Building Models
Modify Edge
Modify Edge tool moves an edge vertex or segment. The modification effects all parallel segments
of the same edge.
2.
3.
Define setting.
Move the mouse pointer inside a view.
The edge segment or vertex closest to the mouse pointer is dynamically highlighted.
4.
5.
Define the new location of the edge segment or vertex with a data click.
This places the edge segment or vertex at the new location and adjusts all other parallel
segments along the same edge accordingly. You can continue with steps 2 or 4.
Setting:
Effect:
Vertex
Free - .
Fixed - .
Page 210
9 3D Building Models
2.
3.
Define setting.
Move the mouse pointer inside a view.
The vertex closest to the mouse pointer is dynamically highlighted.
4.
5.
Effect:
Vertex
Free - .
Fixed - .
Page 211
9 3D Building Models
3.
4.
Define the reference edge segment with a data click. This defines the base direction.
Define the edge segment to align with a data click.
This updates the Detail view and displays the image that sees the selected edge segment
location best. If you move the mouse pointer, the new edge location is dynamically
displayed.
5.
Define the new location of the edge segment with a data click.
This aligns and places the edge segment at the new location. You can continue with step 4.
After placing a reset click, you continue with step 3.
3.
4.
Page 212
9 3D Building Models
3.
4.
5.
3.
4.
5.
6.
Define the location of one perpendicular edge segment with a data click.
Define the location of the other perpendicular edge segment with a data click.
Define the location of the parallel edge segment with a data click.
This places the new edge segments at the defined locations. You can continue with step 3.
You can go back from steps 6 to 5, 5 to 4, and 4 to 3 by placing a reset click.
Page 213
9 3D Building Models
3.
3.
Define the edge segment to which to add a vertex with a data click.
This updates the Detail view and displays the image that sees the selected edge location best.
If you move the mouse pointer, the new vertex location is dynamically displayed.
4.
Page 214
9 3D Building Models
To construct a building:
1.
2.
3.
4.
Define settings.
Identify the building location with a data click. This can be a hole in the ground points or a
footprint element.
The software searches for roof planes and creates temporary polygons for each detected roof
plane. The polygons are drawn on the active level. It also classifies points inside the roof
planes into the given Temporary class.
It opens the Construct Building dialog that shows a list of all detected roof planes. The
dialog provides user control elements for modifying the building model and for changing
settings for the model display and construction. In addition, the Building Planes tool box
and Building Boundaries tool box are opened for editing the roof planes.
By default, the MicroStation views are arranged in a way that the building model is shown
in a top view, an isometric view, and two section views. If a mission, camera file, and image
list are loaded in TerraPhoto, a camera view shows the model on top of an image.
Page 215
9 3D Building Models
Setting:
Process inside
Effect:
Area to search for potential roof points:
Hole in the ground - area without any ground points.
Footprint element - inside a polygon that also defines the
location of the walls.
Fence element - inside a polygon.
Expand by
Distance for expanding the roof planes from the actual building
edges in the source data.
Auto direct by footprint If on, the building model is directed according to the footprint
element. This is only active if Process inside is set to Footprint
element.
Ground class
Point class containing points on the ground.
From class
Point class from which building roofs are detected.
Temporary class
Point class into which points are classified after roof detection.
Vector class
Point class into which points are classified after the final building
model has been created.
Minimum size
Minimum size of the area covered by a building.
Z tolerance
Elevation tolerance within which points are considered to belong
to the same roof plane. Estimated noise level in the laser data.
Merge horizontal
If on, separately detected horizontal planes are merged into one
planes
plane.
Tolerance increase
Plane fitting tolerance value for merging horizontal planes
together.
Page 216
9 3D Building Models
To show the location of a roof plane, select a line in the Construct Building dialog. Click on the
Show location button, define the setting in the Show Plane Location dialog, and move the mouse
pointer into a view. This highlights the selected plane according the settings in the dialog:
Setting:
Highlight
Effect:
Defines what elements are highlighted:
Boundary and Points - the plane boundary and laser points
inside the plane.
Boundary only - the plane boundary.
Points only - the laser points inside the plane.
Highlighting laser points might slow down the display
significantly.
To identify a plane, click on the Identify button and place a data click inside a plane in a view.
This selects the corresponding line in the Construct Building dialog.
Page 217
9 3D Building Models
The Edit button opens the Plane information dialog which lets you modify a roof plane that is
selected in the list. In the dialog, you can change the display color of the temporary plane polygon
and its boundary type. The boundary type can be set to Rectangle, Rectangular, or Polygon. If
you change the boundary type from a less-restrictive to a more-restrictive type, for example from
polygon to rectangular or rectangle, the plane boundaries are adjusted.
If you want to delete a roof plane, click on the Delete button. This removes the selected plane from
the list. The laser points are not effected by this action.
The Update model button creates a 3D model from the roof planes. It constructs polygons for upper roof planes, roof sides (eaves), lower roof planes, and walls. It does not effect the laser points.
The temporary plane polygons are still displayed and can be modified as long as the Construct
Building dialog is open. Use this button if you want to check the 3D model but still do adjustments
to the roof planes.
The Apply model button creates the final 3D model from the roof planes. It constructs polygons
for upper roof planes, roof sides (eaves), lower roof planes, and walls. It classifies the laser points
inside the roof planes into the Vector class defined in the Construct Planar Building dialog. It
also closes the Construct Building dialog and removes the display of the temporary plane polygons. Thus, the model can no longer be modified with the TerraScan building vectorization tools
once it has been applied.
"
Only Apply model classifies laser points into the defined Vector class. If you use Update model
to create the model and then close the Construct Building dialog, the vector model is drawn into
the design file but the laser points on the roof are still in their original class.
Recompute
Effect:
Applies a direction to all or selected planes:
Average direction - the average direction of planes is applied
to all planes.
Best plane direction - the optimal direction is applied for each
plane.
Footprint direction - the direction defined by a footprint
polygon is applied to all planes. This is only active if the roof
planes have been constructed based on a footprint polygon.
Two points direction - the direction of a roof plane is defined
by a line. You draw the line by placing two data clicks inside
the plane you want to adjust.
Recomputes the boundaries and direction of planes:
All planes - all planes.
Selected group(s) - only planes of the group of which at least
one plane is selected in the list.
Selected plane(s) - only planes that are selected in the list.
To change the default colors for the display of temporary roof plane polygons:
1.
Page 218
9 3D Building Models
2.
3.
4.
2.
Arrange view
Display shaded surface
Effect:
Top view that displayes the building model.
Section view that displayes a cross section perpendicular to the
buildings main direction.
Section view that displays a section along the buildings main
direction.
Isometric view that displayes the building model. You may set this
view to display the model using Smooth rendering in MicroStation
view controls.
If on, the selected views are opened and arranged in the
MicroStation interface.
If on, a surface model of the roof planes is created in TerraModeler
and displayed in the Isometric view. This requires that
TerraModeler is available on the computer. It starts TerraModeler
automatically if it is not yet loaded.
Page 219
9 3D Building Models
Setting:
Camera view
Rotation
Effect:
Camera view that displayes the building model on top of an image.
This requires that TerraPhoto is available on the computer and
loaded. It also requires a mission, camera file, and image list
loaded into TerraPhoto.
Defines the rotation of the camera view:
Image direction - the display is rotated according to the image
direction.
Building direction - the display is rotated according to the
main building direction.
If on, the Auto Align Boundaries tool aligns roof plane boundaries
to the roof edges visible in images.
2.
Effect:
Level and color used for drawing the upper roof planes. Uses the
active color table of MicroStation.
If on, the color of the upper roof plane is extracted from the image
that sees the building location best. The resulting color is the
average of all pixels on the roof in the image.
Level and color used for drawing the lower roof planes. Uses the
active color table of MicroStation.
Level and color used for drawing the roof side planes (eaves). Uses
the active color table of MicroStation.
Page 220
9 3D Building Models
Setting:
Wall
Effect:
Level and color used for drawing the walls. Uses the active color
table of MicroStation.
Footprint walls
Level and color used for drawing the walls at a location defined by
a footprint polygon. Uses the active color table of MicroStation.
Sloped planes
Depth of eaves if the roof planes are sloped. The value determines
the distance between the outer roof boundary and the location of
walls to the inside of the roof planes.
Horizontal
Depth of eaves if the roof planes are horizontal.
Angle
Determines the maximum slope anlge of a roof plane that is still
considered as horizontal.
Eaves height
Height of eaves. The value determines the distance between upper
and lower roof planes.
Ground Z
Elevation of the ground level around the building. The default
value is determined by the laser points in the ground class.
Walls start
Defines the distance between the Ground Z value and the lower
edge of walls.
Merge closeby vertices If on, vertices on roof plane boundaries are merged if they are
closer to each other than the distance given in the Within field.
Delete hidden facets
If on, hidden facets are not constructed in the final model.
Use footprints for walls If on, additional wall shapes are drawn at the location of footprint
boundaries. This is only applicable if the building model has been
construced based on a footprint polygon.
Page 221
9 3D Building Models
To:
"
Use:
Building Planes tools work only when the Construct Building dialog is open. You can undo the
actions of the tools by using the Undo command from the Edit pulldown menu of MicroStation.
However, this is not recommended because the display of the temporary plane polygons is not updated correctly after using the Undo command in MicroStation V8i.
Page 222
9 3D Building Models
Page 223
9 3D Building Models
(Optional) Select a shape element that you want to use as a roof plane.
Select Add Building Plane tool.
The Add Building Plane dialog opens:
3.
Define settings.
The next steps depend on the source data used to derive the plane equation from.
6.
If you digitize a plane of type Rectangular or Polygon, define the last vertex at the same
location as the first vertex. The tool snaps to the first vertex if the mouse pointer comes
close to it.
Define the elevation of the plane with a data click inside a section view.
Continue with digitizing the shape of the plane as described above.
Define the slope of the plane with two data clicks inside a section view, one data click for
the start point of the section line and another data click for the end point.
Continue with digitizing the shape of the plane as described above.
Page 224
9 3D Building Models
Setting:
Equation from
Group
Type
Effect:
Source data from which the software derives the plane equation:
Any free points - laser points of the original roof point class.
Fenced points - laser points of the original roof class and inside
a MicroStation fence. This is only active if a fence is drawn in
the design file.
Elevation click - the first data click defines the elevation of the
plane. The plane is created as horizontal plane.
Section line - the first two data clicks define the slope of the
plane in a section.
Element - the plane is created from an exising 3D polygon.
This requires that the polygon is selected before the tool is
started.
Direction group to which the new plane is added.
Shape type of the new plane: Rectangle, Rectangular, or
Polygon.
Page 225
9 3D Building Models
3.
4.
5.
Define the destination point of the new plane with a data click.
This adds the new plane to the roof model and to the list of planes in the Construct Building
dialog. The laser points inside the plane are not effected.
3.
Select the first plane with a data click. This defines the master plane for the merging process
which determines the slope and direction of the merged plane.
If you move the mouse pointer, the possible planes for merging are dynamically displayed.
4.
5.
Decide whether to keep the points in the merged plane or not and click the corresponding
button in the alert dialog.
This merges the two planes into one plane, recomputes the plane equation of the new plane,
and updates the list of planes in the Construct Building dialog.
Page 226
9 3D Building Models
3.
Page 227
9 3D Building Models
2.
4.
5.
Identify the first plane you want to add to the group with a data click inside the plane. If
Direction is set to First plane, this defines the plane for determining the direction of the
group.
Identify additional planes with data clicks.
Place a data click outside the building area in order to apply the direction group.
Define the direction of the plane group with two data clicks, one data click for the start point
of the direction line and another data click for the end point.
Continue with identifying the planes you want to add to the group as described above.
This creates the new direction group, adds the planes to the group, and updates the list of
planes in the Construct Building dialog.
Setting:
Direction
Effect:
Source data from which the software derives the direction of the
group:
Average - the average direction of all planes added to the
group.
Two points - a line defined by two points.
First plane - the direction of the first selected plane.
Footprint - the direction of the footprint polygon. This is only
active if the roof planes have been constructed based on a
footprint polygon.
Page 228
9 3D Building Models
3.
4.
5.
Identify a plane with a data click. The plane determines the direction group to which additional planes are added.
Identify the plane(s) you want to add to the direction group.
Place a data click outside the building model in order to apply the direction group.
This adds the planes to the group and updates the list of planes in the Construct Building
dialog. You can continue with step 3.
2.
3.
4.
5.
6.
Effect:
Determines the effect of the symmetric adjustment:
None - any symmetry of planes is released. This can be used to
undo symmetry assignments.
Angle - the slope angle of planes is symmetrically adjusted.
Equation - the plane equation is symmetrically adjusted.
Page 229
9 3D Building Models
To:
"
Use:
Building Boundaries tools work only when the Construct Building dialog is open. You can
undo the actions of the tools by using the Undo command from the Edit pulldown menu of MicroStation. However, this is not recommended because the display of the temporary plane polygons is not updated correctly after using the Undo command in MicroStation V8i.
Page 230
9 3D Building Models
2.
3.
4.
Apply the boundary adjustment with a data click inside the plane.
This sets the boundaries and thus, the shape of the plane. You can continue with steps 2 or 4.
Setting:
Type
Effect:
Shape type:
Rectangle - the plane is set to a rectangle.
Rectangular - the plane is set to a rectangular shape.
Polygon - the plane is set to a polygon shape.
Page 231
9 3D Building Models
To align a boundary:
1.
2.
3.
4.
2.
3.
Define settings.
Move the mouse pointer into a view.
This highlights a roof plane if the mouse pointer is inside the plane.
4.
5.
Identify the plane for which you want to digitize new boundaries with a data click.
Digitize a new boundary by placing a data click for each vertex of the plane.
The amount of vertices you can place are effected by the shape type. Place the last data click
close to the first vertex in order to close a rectangular or polygon shape.
6.
Effect:
If on, the direction of the plane is set according to the basic
direction of the new boundary.
If on, the boundary segments are aligned automatically to follow
the basic direction of the plane. The direction is set according to
the direction group the plane belongs to.
Page 232
9 3D Building Models
2.
3.
Define setting.
Move the mouse pointer inside a view.
The boundary segment or vertex closest to the mouse pointer is dynamically highlighted.
4.
5.
Define the new location of the boundary segment or vertex with a data click.
This places the boundary segment or vertex at the new location and adjusts all other parallel
segments along the same edge accordingly. You can continue with steps 2 or 4.
Setting:
Fix segment
Effect:
3.
4.
5.
Page 233
9 3D Building Models
3.
4.
5.
6.
Define the location of one perpendicular boundary segment with a data click.
Define the location of the other perpendicular boundary segment with a data click.
Define the location of the parallel boundary segment with a data click.
This places the new boundary segments at the defined locations. You can continue with step
3. You can go back from steps 6 to 5, 5 to 4, and 4 to 3 by placing a reset click.
To delete a vertex:
1.
2.
3.
Page 234
10 Main Window Menu Commands
10
Read laser points from raw files generated by system manufacturers applications.
Remove points which are outside the geographical area of interest.
Search and delete error points (points high up in the air or below the ground).
Classify points into point classes such as ground, vegetation, building or wire.
Save modified points into a separate file which you can load if you start another work session later on.
Create vector data into the design file based on the points. This might involve automatic
detection of some features such as wires, buildings or trees, or manual digitization using the
coordinates or the elevations of laser points.
Throughout the work session you will be using various viewing tools to see the data in 3D.
Page 235
10 Main Window Menu Commands
"
MDL applications share the same 2 GB address space with MicroStation. The maximum amount
of memory that an MDL application can utilize under MicroStation SE is about 1200 MB, under
MicroStation J about 700 MB and under MicroStation V8 about 800 MB.
Page 236
10 Main Window Menu Commands
To:
Read points of a project block
Read points of a project block inside a fence
Read points from a file
Save modified points
Save or export points to a file
Close loaded points
Page 237
10 Main Window Menu Commands
Open block
Open block menu command loads points from a project block. You select the project block geographically - that is by clicking inside the boundaries of the desired block.
For more information on projects in TerraScan, see chapter Coordinate Transformations on
page 312.
3.
Setting:
Neighbours
Open for
Fit view
Load reference points
"
Effect:
Width of overlap region around the active block boundaries for
which the application will load points from neighbouring blocks.
Mode in which to open the block: Viewing only or Modification.
View(s) to fit to show all loaded points.
If on, points from a reference project are loaded.
Open block menu command lets you make a choice whether you are opening a block for viewing
or for modification. This setting has an effect if you use project file locking. See Coordinate
Transformations on page 312 for more information.
Page 238
10 Main Window Menu Commands
Draw a fence or select polygon(s) around area(s) for which to load the points.
Select Open inside fence command from File pulldown menu.
As you move the mouse, the application highlights the boundaries of the areas for which
points will be loaded.
3.
Setting:
Class
Only every
Load time stamp
Load color values
Conserve memory
Effect:
Class(es) that are loaded for the selected areas.
If on, only every given point is loaded.
If on, time stamps are loaded. Otherwise, time information is
ignored.
If on, color values are loaded. This is only active, when color
values are attached to the laser points.
If on, the software first reads through input files to determine how
many points would be loaded to be able to make a memory
allocation for the exact number of points. This is slower but less
likely to run out of memory.
Page 239
10 Main Window Menu Commands
Read points
Read points command loads points from files into TerraScan for visualization or processing tasks.
It performs exactly the same action as the Load Airborne Points tool.
You can load several files of the same file format together in one reading process. The file format
is automatically recognized if it is known by the software. The points of the selected file(s) are
loaded into TerraScan memory. You can add more points by loading additional files. If the memory is full, the software shows an error message and the reading process stops.
2.
Select files and (optional) add them to the list of selected files by clicking on the Add button. If all files are selected or added to the list, click Done.
This opens the Load Points dialog:
3.
Page 240
10 Main Window Menu Commands
Setting:
Format
Filename
Points
Coordinate preview
WGS84
Transform
Fit view
Only every
Only class
Attributes
Effect:
Format of the point file. This is automatically recognized by the
software. For user-defined text file formats, it might be necessary
to select the correct format.
Name of the first selected file.
Amount of points in all selected files.
Coordinate values of the first point found in the point file. This
helps to decide whether a coordinate transformation needs to be
applied.
Transformation from WGS84 coordinates into projection system
coordinates applied during the reading process.
The list contains projection systems which are active in
Coordinate transformations / Built-in projection systems,
Coordinate transformations / US State Planes, or Coordinate
transformations / User projection systems categories of
TerraScan Settings.
Transformation applied to points during the reading process.
The list contains transformations that are defined in Coordinate
transformations / Transformations category of TerraScan
Settings.
Defines which MicroStation view is fitted to the extent of the
loaded points:
None - no view is fitted.
All - all open views are fitted.
1...8 - the selected view is fitted. Only numbers of open views
are available.
If on, only a selection of points is loaded. The software reads every
nth point from the file(s), where n is the given number.
If on, only points from the selected class(es) are loaded.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes from
the list that are then used in the Only class field.
If on, only points inside a fence or selected polygon are loaded.
This is only active if a MicroStation fence element is drawn in the
design file or if a shape element is selected.
Attributes that are loaded for laser points. You can decide which
attributes you want to load or exclude. Only attributes that are
stored in the point file(s) are available for loading. All on and All
off buttons switch the selection of all attributes on or off. Point
coordinates and the class number are always required.
Setting:
Line numbers
Scanner number
Default
"
Effect:
Defines, how line numbers are assigned to the points during the
loading process:
Use from file - line numbers from source files are used.
Assign constant - the number given in the First number field
is assigned to all points.
From file name - the last numerical sequence in a file name is
used as line number.
From folder name - the last numerical sequence in the name
of the folder containing the point files is used as line number.
Deduce using time - numbers are assigned based on
trajectories loaded into TerraScan. The same process can be
performed for by the Deduce using time command or the
corresponding macro action.
Increase by xy jump - the line numbers incease from the given
First number if the xy distance is bigger than the value given
in the By distance field.
Increase by time jump - the line numbers increase from the
given First number if a jump in time stamps occurs. This
requires that trajectory information is available in TerraScan.
Increase by file - the line numbers increase from the given
First number for each separate file.
Increase by file name - the line numbers increase from the
given First number for each file with another file name. Files
with the same name get the same number.
Increase by directory - the line numbers increase from the
given First number for each file stored in another source
folder. Files from the same source folder get the same number.
The Line numbers settings are only available if the Line attribute
is switched on for loading.
Defines, how scanner numbers are assigned to the points during
the loading process:
Use from file - scanner numbers from source files are used.
Assign constant - the number given in the First number field
is assigned to all loaded files.
Increase by file - the scanner numbers increase from the given
First number for each separate file.
From file name - the first numerical sequence in a file name is
used as scanner number.
From folder name - the first numerical sequence in the name
of the folder containing the point files is used as scanner
number.
From line number - the line number is used as scanner
number.
The Scanner number settings are only available if the Scanner
attribute is available and switched on for loading.
Point that is assigned to all points if no class attribute is stored in
the point file. This is only active if text file formats are selected for
loading.
See Supported file formats on page 478 for information about supported file formats and File
formats / User point formats on page 38 for information on user defined text file formats.
Page 242
10 Main Window Menu Commands
Save points
Save points menu command saves all laser points to the same binary file from which they were
read in or into which they were saved to earlier.
"
To prevent an original file being overwritten by a file which does not include all information, the
Save points command is disabled if points have been loaded incompletely. This includes the following settings:
Page 243
10 Main Window Menu Commands
Save points As
Save points As menu command writes laser points to a new file which can be a text file or a binary
file. You can use this to export points into another format.
The output file format can be any of the following:
Scan binary 8bit lines - compact and fast file format which includes all essential laser point
information. Flightline numbering is limited to range 0 - 255.
Scan binary 16bit lines - same as above but flightline range 0 - 65535.
LAS 1.0 - industry standard format for laser data, version 1.0.
LAS 1.1 - industry standard format for laser data, version 1.1.
LAS 1.2 - industry standard format for laser data, version 1.2.
EarthData (E)EBN - Earth data binary.
E N Z - plain xyz text file.
Class E N Z - text file with class, x, y and z for each point.
E N Z Intensity - text file with x, y, z and intensity for each point.
Class E N Z Intensity - text file with class, x, y, z and intensity for each point.
E N Z dZ - text file with x, y, z and elevation difference to a surface model.
Id E N Z - text file with unique index number, x, y and z for each point.
Id E N Z Pulse - text file with unique index number, x, y, z and echo number for each point.
User defined point file formats.
2.
3.
4.
5.
Page 244
10 Main Window Menu Commands
A file with the given name is created and points in selected classes are written to it.
Setting:
Points
Flightline
Format
Save time stamp
Delimiter
Xyz decimals
Transform
Inside fence only
Line numbers
Effect:
Selection of points that will be saved into the new file: All points
or Active block. The latter is only active if points from neighbour
blocks have been loaded using Open block command.
Selection of flightlines that will be saved into the new file: All
flightlines or the flightline with the selected number.
Format of the output file.
If on, time stamps are saved into the new file. This is only available
for TerraScan binary files and if loaded points content time
information.
If on, color values are saved into the new file. This is only available
for TerraScan binary files and if the loaded points content color
information.
Defines the delimiter for text files: Space, Tabulator or Comma.
This is only available if a text file format is selected as output
format.
Defines the number of decimals for coordinate values. This is only
available if a text file format is selected as output format.
A transformation into a new projection system can be applied for
the laser points that are written into a new file.
Only points that are inside a fence or a selected polygon are written
into the new file.
Defines, how flightline numbers are assign to the laser points:
Use from file - flightline number from source files is used. This
requires that the text file includes a flightline field.
Assign constant - a constant given in First number field is
assigned to all loaded files.
Increase by xy jump - the number changes if an jump of the
value given in the By distance field or more occurs.
Increase by time jump - the number changes if a time jump
occurs.
Increase by file - a number per loaded file is assigned.
Increase by file name - a number per file name is assigned.
Increase by directory - a number per source directory is
assigned to the loaded files.
Deduce using time - numbers are assigned based on trajectories
loaded into TerraScan.
Close points
Close points menu command unloads all currently loaded points from TerraScan memory.
If points have been modified, a window opens to ask if you want to save changes before unloading
the points.
Click Yes to save modified points.
Click No to unload points without saving changes.
Click Cancel to close the window without unloading the points.
Page 245
10 Main Window Menu Commands
To:
Output report from alignment
Create a surface model
Export laser data into a lattice file
Export laser data into a colored image
Draw points permanently to design file
Page 246
10 Main Window Menu Commands
3.
Surface
Step
Min step
Output vertices
Restart stationing at each
vertex
Start station
Output string
Effect:
Alignment report format to use. Defines the report
content.
Coordinate transformation to convert from design file
coordinates to output coordinates.
Interval definition:
Fixed step - interval length is fixed along the whole
alignment element.
Triangle edges - interval length is defined by
intersection points between surface triangle edges and
the alignment element.
Surface when Interval is set to Triangle edges.
Length of a fixed step in design file units.
Minimum length of a step in design file units, if Interval
is set to Triangle edges.
If on, will generate a row for each alignment vertex.
If on, station values will restart from Start station at each
vertex.
Station value at start of the alignment.
String to output when a column has no valid value.
Page 247
10 Main Window Menu Commands
2.
3.
Select settings for triangle exclusion, minimum point distance, points along breaklines, and
error points. Click OK.
This opens the TerraModeler Surface settings dialog.
4.
Select a surface type, and type a name for the surface. You can also change the name for the
surface file in the storage field. Click OK.
This creates a triangulated surface model from the points.
For more detailed information about surface triangulation in TerraModeler see TerraModeler
Users Guide.
"
After this operation both TerraScan and TerraModeler will end up keeping copies of the points in
memory. If you want to reduce the memory requirement, you can do the following steps:
1.
2.
3.
4.
5.
Page 248
10 Main Window Menu Commands
(Optional) Draw rectangle(s) around areas that are to be exported and place text strings
inside the rectangles. Select rectangle(s) and text(s).
Select Export lattice model command from Output menu.
This opens the Export lattice model dialog:
3.
4.
Define a name and location for the lattice file and click Save.
This saves the lattice model to the given location.
Setting:
Class
Value
Effect:
One or more laser point classes as source for the model
creation.
Value to be stored for each grid cell:
Triangulated model z - elevation value calculated from
a triangulated model of the selected point class(es).
Highest hit z - elevation value defined by the highest
hit in the selected point class(es).
Average hit z - average elevation value calculated from
hits in the selected point class(es) falling inside the grid
cell.
Lowest hit z - elevation value defined by the lowest hit
in the selected point class(es).
Point count - amount of points falling inside the cell.
Point density - number of points per squared master
unit.
Page 249
10 Main Window Menu Commands
Setting:
Export
Expand by
Grid spacing
Model buffer
Max triangle
Fill gaps up to
File format
Z unit
Outside points
Outside Z
File naming
Directory
Extension
"
Effect:
Area to be exported:
Whole area - area covered by the loaded laser data is
exported.
Selected rectangle(s) - only area inside selected
rectangle(s) is exported.
Distance by which a selected rectangle is expanded for the
model export. The area covered by the expanded rectangle
is included in the exported model.
Defines the distance between grid cells.
Buffer area around the model area that is considered for
calculating elevation values from a triangulated model.
Maximum length of a triangle edge for calculating
elevation values from a triangulated model.
Pixel value for filling gaps. This is only active if Value is
set to Highest, Average, or Lowest hit z.
Format for exported lattice file: ArcInfo, GeoTIFF,
Intergraph GRD, Raw, Surfer ASCII or binary, Xyz
text.
Unit for z values. Relevant for formats storing elevations
as integers. This is only active for Formats GeoTIFF,
Intergraph GRD, Raw.
Defines whether cells that are not covered by laser data are
skipped or included in the output. This is only active for
Format Xyz text.
Defines the value for cells that are inside the model area
but not covered by laser data. This is only active for
Formats ArcInfo, Surfer ASCII and binary, Xyz text.
File naming setting for exporting selected rectangles:
Enter name for each - a name for each rectangle has to
be defined when saving the lattice models.
Selected text elements - selected texts inside the
rectangles are used as file names.
If File naming is set to Selected text elements, this sets a
directory for storing the lattice model files.
If File naming is set to Selected text elements, this
defines a file extension which is added to the lattice model
file names.
Export lattice model is a good option to exchange structured elevation models between TerraScan and other software products.
Page 250
10 Main Window Menu Commands
2.
3.
Format
Effect:
Coloring attribute.
Point class(es) to use. Several classes can be selected by
clicking on the >> button.
Value determination within each pixel:
Lowest - Smallest value of the points.
Average - Average value of the points.
Highest - Highest value of the points.
This is only active for elevation and intensity coloring.
File format for the raster file: Windows BMP, GeoTIFF, or
GeoTIFF + TFW.
Page 251
10 Main Window Menu Commands
Setting:
Colors
Pixel size
Fill gaps
Attach as reference
Draw placement rectangle
Scheme
Degree
Effect:
Color depth of raster image:
24 Bit Color - true color image.
256 Colors - 256 colors.
Grey scale - 8 bit grey scale.
This is only active for elevation and intensity coloring.
Size of each pixel in the target raster file.
If on, small gaps are filled in places where there are no laser
hits inside a pixel.
If on, the image is attached as raster reference to the design
file.
If on, the image position is drawn as a shape. Helps to attach
the image at the correct location later on if no TFW file was
created.
Type of coloring scheme for elevation or intensity coloring:
Cold to hot - varies from blue for low elevation to red for
high elevation. This is the common coloring scheme for
elevation coloring.
Hot to cold - varies from red for low elevation to blue for
high elevation.
Selected colors - a user defined coloring scheme can be
created by clicking the Define button. See more
information below in Color scheme definition section.
Black to white - varies from black for low values to white
for high values. This is active if Colors is set to Grey
scale. This is the common coloring scheme for intensity
coloring.
White to black - varies from white for low values to
black for high values. This is active if Colors is set to
Grey scale.
Determines how the color changes in color schemes are
computed.
In the Raster Image Dialog, set the Scheme to Selected colors and click the Define button.
This opens the Color scheme dialog:
Page 252
10 Main Window Menu Commands
2.
3.
4.
5.
If necessary, the boundary values between colors can be changed by clicking on the value
next to the color scheme. This opens the Color elevation dialog. Switch Fixed on and
define a value.
To make color changes for the color scheme, select Remove all or Remove last command
from the Color pulldown menu.
This removes all colors or the last added color from the color scheme.
6.
A color scheme can be saved into a text file with the extension *.SMC using the Save As
command from the File pulldown menu.
The file stores the RGB or HSV values for each scheme color in rows. A previously saved
color scheme file can be loaded with Open command from the File pulldown menu. Color
values can be also changed by editing the color scheme file in a text editor.
Page 253
10 Main Window Menu Commands
"
The color scheme settings for this menu command are defined in the same way and in the same
dialogs as for display modes in TerraScan. See detailed descriptions for all coloring settings in
section Display mode on page 263.
2.
3.
4.
5.
6.
Select coloring mode which you want to use in the Color by field.
Select the desired classes by checking the boxes in the list.
(Optional) Select Only every option if only every nth point is to be drawn in the design file.
(Optional) If a fence or selected polygon is defined, points inside can be drawn into the
design file by checking the Inside fence only option.
Click OK.
This writes the selected points to the design file.
Page 254
10 Main Window Menu Commands
To:
Undo a classification action
Undo classification actions from a list
Edit attributes of one or more laser points
Select laser points of a specific class
Select laser points with specific attribute values
Delete points
Page 255
10 Main Window Menu Commands
Undo
Undo menu command lets you undo modifications of points. Actions that can be undone include:
More than one action can be undone by using the menu command several times. However, a faster
way is to use the From list menu command instead.
From list
From list menu command lets you undo several actions from a list. This is a faster way to undo
more than one action. The amount of actions that can be undone is determined by the memory provided for the undo buffer. See Undo buffer on page 63 in TerraScan settings.
2.
Page 256
10 Main Window Menu Commands
Edit selected
Edit selected menu command lets you modify attributes for one or more laser points selected in
the point list of the TerraScan Main window. The attributes that can be changed differ depending
on the selection of one point or several points.
3.
4.
3.
4.
"
Page 257
10 Main Window Menu Commands
Select by class
Select by class menu command selects points of the same class. It requires the selection of one
example point in the TerraScan Main window.
Select one example point of the class to be selected in TerraScan Main window.
Select by class command from Point pulldown menu.
This selects all points of the same class as defined by the example points.
"
A good possibility to select an example point is to use the Identify button in TerraScan Main window. This lets you select one point by mouse click in a MicroStation view. The identified point is
selected in the Main window point list. The location of selected points can be shown in a MicroStation view using the Show location button in TerraScan Main window. If a large amount of
points is selected, the display of selected points may take a while.
Find
Find menu command selects points with specific attribute values, including class, elevation range
and time range. The command finds and selects either all points with the given values or finds the
first and next point as they appear in the point list.
2.
3.
4.
5.
If you want to select all points with the given values, click Find all.
This selects the points in the point list in TerraScan Main window.
"
The location of selected points can be shown in a MicroStation view using the Show location button in TerraScan Main window. If a large amount of points is selected, the display of selected
points may take a while.
Page 258
10 Main Window Menu Commands
Delete
Delete sub-menu contains commands for deleting laser points:
Select laser points in the point list using one of the point selection options in TerraScan.
Select Selected points in Delete sub-menu from Point pulldown menu.
A message appears to ask if the selected points are to be deleted. Click Yes to delete.
2.
3.
Select one or more classes for which you want to delete points.
Click OK to delete the points.
A message appears that informs how many points have been deleted.
2.
3.
Select one or more flightlines for which you want to delete points.
Click OK to delete the points.
A message appears that informs how many points have been deleted.
Draw a fence or select a polygon around the area for which you want to delete points.
Select Inside fence or Outside fence in Delete sub-menu from Point pulldown menu.
Click inside the MicroStation view where the fence is defined.
This deletes points inside or outside the fence.
Page 259
10 Main Window Menu Commands
3.
4.
5.
6.
Select a class from which points are to be deleted in the From class field.
Define a distance for keeping points inside and deleting points outside.
Show the current set distance with Show boundary. The boundary is displayed when the
mouse is moved inside a MicroStation view.
Click Apply.
A message appears to ask if the selected points are to be deleted. Click OK to delete the
points further away than the defined distance.
Page 260
10 Main Window Menu Commands
To:
Switch main window to small size
Switch main window to medium size
Switch main window to large size
Switch main window to wide size
Change the display of fields in main window
View header records of a LAS file
Fit a view to display all loaded points
View points using elevation or intensity coloring
Page 261
10 Main Window Menu Commands
Small dialog
Small dialog command changes the TerraScan Main window to a minimal size which consists
of a title bar and pulldown menus only.
Medium dialog
Medium dialog command changes the TerraScan Main window to a medium size which consists of a title bar, the pulldown menus, and a medium size list displaying the attributes of loaded
points.
Large dialog
Large dialog command changes the TerraScan Main window to a large size which consist of a
title bar, the pulldown menus, and a large size list displaying the attributes of loaded points.
Wide dialog
Wide dialog command changes the TerraScan Main window to a wide size which consist of a
title bar, the pulldown menus, and a wide size list displaying the attributes of loaded points.
Fields
Fields command lets you select which attributes are displayed in the TerraScan Main window if
point are loaded in TerraScan. The list of loaded points is only visible if the window is displayed
as Medium dialog, Large dialog, or Wide dialog.
2.
Select fields you want to see in the list of loaded points and click OK.
Header records
Header records command is not implemented yet.
Page 262
10 Main Window Menu Commands
Fit view
Fit view menu command fits a view to display an area covering all of the loaded points or currently visible points.
Page 263
10 Main Window Menu Commands
Display mode
Display mode menu command opens the Display mode dialog which contents settings for controlling the display of laser points in MicroStation views. This includes settings for laser point coloring, point size, drawing method, and what classes and flightlines are displayed.
2.
3.
4.
5.
Weight
Lines
Speed
Use depth
Fit
Colors
Effect:
View for which display settings are applied.
Coloring attribute: Class, Echo, Elevation, Flightline,
Intensity, Distance, Point color, Scanner, Shading, Line &
Intensity, Echo length.
Point size.
Visibility of flightlines: Draw all or Selected. Select
flightlines by clicking on the Select button.
Speed setting for point display:
Fast - sparse points - amount of points displayed
depends on zoom factor, if zoomed out less points are
drawn.
Normal - all points - all points are drawn at every zoom
level.
Slow - all points are drawn slowly. This is only active
if Color by is set to Flightline.
If on, in 3D views the point is displayed which is closest
to the viewer compared with all other points falling in the
same screen pixel.
Fits the selected View to the extend of all visible points.
Opens a window for additional color settings. The content
of the window depends on the selected coloring attribute.
See the following sections for more information.
Page 264
10 Main Window Menu Commands
Setting:
All On
Invert
All Off
Apply
All views
Effect:
Switch all classes on.
Invert the visibility of classes.
Switch all classes off.
Apply current settings to the selected view.
Apply current settings to all views.
Extend the length and/or width of the Display mode
dialog.
Color by Class
Color by Class setting displays the points according to their class. To change the colors for classes, click the Colors button next to the Class by field. This opens the Point classes dialog which
is the same as is opened by the Define Classes tool. The display color can be changed by selecting
a class and clicking the Edit button. This opens the Point class dialog where the display color is
set. See Define Classes for more information about settings for point classes.
Color by Echo
Color by Echo setting displays the points according to their return type. To change the colors for
echo types, click the Colors button next to the Class by field. This opens the Echo colors dialog:
Type a new color number in the echo type field or click on the color button next to the echo number to change the color for the echo type.
Color by Elevation
Color by Elevation setting displays the points according to their z value. A color scheme is applied where each color represents a certain range of elevation values. The default color scheme of
TerraScan consists blue colors for low elevation values, green and yellow colors for intermediate
values, and red colors for high elevation values.
To change the color scheme, click the Colors button next to the Class by field. This opens the
Coloring scheme dialog:
Page 265
10 Main Window Menu Commands
To change a color scheme, select Remove all command from Color pulldown menu. This removes the current color scheme. Add a new color by selecting it from the color table with a mouse
click on the color field. New colors are always added at the lower end of the color scheme which
means that the first selected color is for the highest elevation range. If the last added color has to
be removed, select Remove last from Color pulldown menu.
A color scheme can be saved into a text file with the ending .CLR which lists the numbers of the
selected colors. To save a color scheme, select Save as command from File pulldown menu. To
load a color scheme, select Open from File pulldown menu.
By default, the range for the color ramp includes the z values of all loaded laser points. This can
be changed by selecting a class in the Range from field. The z values from this selected class are
applied to the color scheme.
The Auto fit button puts outliers in the lowest and highest elevation range. This results in a color
scheme where outliers do not affect the color distribution any longer.
"
It is recommended to apply Auto fit always when the coloring mode for laser points is set to Elevation.
The z values defining the boundaries between two colors can be changed by clicking on the color
field in the color scheme or on the number. The Change color at boundary dialog opens where
a new z value can be set. When Auto fit is applied, manual changes for boundaries will get lost.
Color by Flightline
Color by Flightline setting displays the points according to their flightline number. The default
are seven repeated colors for flightline coloring: blue, green, red, yellow, magenta, cyan, white.
To change the colors for flightlines, click the Colors button next to the Class by field. This opens
the Flightline colors dialog:
Page 266
10 Main Window Menu Commands
Select a flightline. The color can be changed by typing a new number in the Line field or by clicking on the color button next to the field. This opens the MicroStation color table, where a new color can be selected.
Color by Intensity
Color by Intensity setting displays the points according to their intensity value. A grey scale is
applied where each grey value represents a certain range of intensity values. The default grey scale
of TerraScan stretches from dark grey for low intensity values to white for high intensity values.
To change the grey scale, click the Colors button next to the Class by field. This opens the Coloring scheme dialog:
Modification can be made in the same way as for the elevation color scheme. See description
Color by Elevation on page 264 for details.
"
It is recommended to apply Auto fit always when the coloring mode for laser points is set to Intensity to put outliers in intensity values into the lowest and highest intensity range.
Color by Distance
Color by Distance setting displays points based on the calculated distance of each point against
a reference surfaces or MicroStation elements.
TerraScan can compare laser points against the following references:
Elements - points are compared against vector elements in the design file.
Flightline average - points are compared against the average surface from overlapping
flightlines. This can be used to check how well different flightlines match each other.
Comparing against the flightline average effectively requires that ground is classified
separately for each flightline.
Ground class - points are compared against a surface computed from a ground class. This
corresponds to a height from ground coloring.
Page 267
10 Main Window Menu Commands
2.
3.
4.
5.
The default color scheme in TerraScan for distance coloring is defined in a way that blue and
green color values symbolize negative distances, and yellow and red color values symbolize
positive distances.
The colors can be changed as described in the section Color by Elevation on page 264.
6.
7.
To apply the distance coloring to the point display, click Apply in the Display mode dialog.
Setting:
Compare to
Class
Max above
Max below
Outside max
No comparison
Effect:
Reference to compare points against.
Point class that is compared against reference.
Maximum distance above the reference covered by the
color scheme.
Maximum distance below the reference covered by the
color scheme.
Color for points that are more than the maximum distance
above or below the reference.
Color for points that cannot be compared against a
reference. This is only active if Compare to is set to
Flightline average or Ground class.
Page 268
10 Main Window Menu Commands
Setting:
Levels
Planar shapes
Tolerance
Above is
Linear elements
Surface elements
"
Effect:
Design file levels on which reference elements are placed.
This is only active if Compare to is set to Elements.
If on, planar shapes are considered as reference elements.
Defines a stroking tolerance for curved element types.
Defines which direction is considered positive distance
from the shapes:
Upwards - points above a shape has a positive distance.
Clockwise side - point on clockwise side of a shape has
a positive distance.
If on, compares against linear vector elements.
If on, compares against surface elements.
Distance coloring can be updated in a fast way by using the Update Distance Coloring tool.
Color by Scanner
Color by Scanner setting displays the points according to their scanner number. This is useful to
distinguish points from different scanners of a ground-based mobile system. At the moment, the
scanner number is only stored in LAS files.
To change the colors for scanners, click the Colors button next to the Class by field. This opens
the Scanner coloring dialog which is the same as for Color by Flightline.
Color by Shading
Color by Shading setting displays a triangulated surface of the points colored by class and shaded
by triangle slope. This is useful to check for example ground classification results because error
ground points show up clearly in the shaded surface display.
When Color by Shading is selected, two more fields are added to the Display mode dialog:
Azimuth - direction of the light source. Zero is north.
Angle - height above horizon of the light source.
Page 269
10 Main Window Menu Commands
Color by Slope
Page 270
10 Main Window Menu Commands
To:
Start an automatic classification routine for points
Start an automatic classification routine for point
groups
Classify points inside a fence
Classify points inside a 3D fence
Detect plane areas from laser points
Detect trees from laser points
Assign a new class to a laser point
Add points within a specific area to ground class
Page 271
10 Main Window Menu Commands
Routine
Routine sub-menu contains commands for calling automatic classification routines. They can be
used to classify points loaded in TerraScan. Most of the classification routines are also available
as macro actions in order to use them in batch processing.
The different routines are explained in detail in Chapter Classification Routines on page 397.
Groups
Groups sub-menu contains commands for calling automatic classification routines for point
groups. They can be used to classify points loaded in TerraScan. Most of the classification routines
are also available as macro actions in order to use them in batch processing.
Classifying groups requires that a group number is assigned to the points. See Assign groups
command for more information.
The different routines are explained in detail in Chapter Classification Routines on page 397.
Inside fence
Inside fence menu command classifies points inside a fence or selected polygon from one class
into another class. Only points that are displayed on screen are affected by the classification.
3.
Select classes in the From class and To class fields and click OK.
This classifies the points that are displayed and fall inside the fence.
3D fence
3D fence menu command lets you classify points inside a 3D fence from one class into another
class. Only points that are displayed on screen are affected by the classification. The 3D fence is
defined in two steps. Usually, a fence or selected polygon is drawn in a top view first. Then the
tool waits for the selection of a second view, which is automatically turned into a front view covering the same area as defined by the fence. In this front view a second fence can be drawn to define the final 3D fence content.
Page 272
10 Main Window Menu Commands
This turns the second view into a front view, and opens the Classify Fence 3D dialog:
4.
5.
6.
Page 273
10 Main Window Menu Commands
Detect plane
Not Lite
Detect plane menu command detects points on a plane inside a fence or selected polygon from
one point class. It classifies the points into another class and optionally draws a polygon around
the points on the plane.
Draw a fence or select a polygon around the area where the plane(s) are located.
Select Detect plane command from Classify pulldown menu.
This opens the Detect plane dialog:
3.
4.
Define settings.
Click inside the fence to define a start point for the plane detection.
The software highlights points that are found on a plane.
5.
Accept highlighted points to classify points on the plane and to draw a plane shape (optionally).
Setting:
Initial radius
Plane tolerance
Expansion step
Draw plane shape
From class
Classify to
Effect:
Start radius for plane detection.
Tolerance how close points must match a fitted plane equation.
Maximum gap among points belonging to the same plane.
If on, a 3D polygon is drawn around the points on the detected
plane.
Source class from which points are used for plane detection.
Target class for points on the detected plane.
Page 274
10 Main Window Menu Commands
Detect trees
Not Lite
Detect trees menu command detects trees from the laser point cloud automatically based on tree
shape definitions. This requires the classification of the laser points into ground, vegetation and
preferably building points as well as the definition of tree types in TerraScan settings. See Tree
types on page 61 for information on how to define tree types.
For detected trees, either MicroStation cells or RPC cells can be placed to represent trees in 3D
visualizations. MicroStation cells have to be defined in the MicroStation Cell Library to be
placed correctly. RPC cells are replaced by RPC files when a view is rendered and if the software
finds the RPC file at the given location. Settings for cell names and RPC files can be found in Tree
types as well.
RPC files are purchased by Archvision (www.archvision.com). For more information about RPC
cells and visualization options, see TerraPhoto Users Guide, Chapter 6, or the MicroStation Online Help.
2.
3.
4.
Select one or more tree types listed in the upper part of the dialog.
Define settings for tree detection.
Click OK.
The software starts the detection process. It classifies points from detected trees into the
defined class and places cells and/or RPC cells on each tree location (optionally). A process
window shows the progress of the detection. Depending on the amount of ground and
vegetation points loaded into TerraScan and given settings the process might take some time.
Setting:
Ground class
From class
To class
Find
Tolerance
Effect:
Class representing the ground level.
Source class from which trees are detected.
Target class for points from detected trees.
Determines how many trees are detected:
More trees - higher amount of trees is detected.
Normal level - normal amount of trees is detected.
Fewer trees - lower amount of trees is detected.
Positional tolerance for laser points.
Page 275
10 Main Window Menu Commands
Setting:
Use echo information
Inside fence only
Place cell
Place RPC cells
"
Effect:
If on, echo information is considered when determining what is
likely to be a tree.
If on, the detection area is limited to a fence area. Requires the
definition of a fence or a selected polygon.
If on, MicroStation cells are places at detected tree locations.
If on, RPC cells are placed at detected tree locations.
RPC cells can be also placed manually based on laser points and aerial images using the Place Rpc
Tree tool in TerraPhoto. See TerraPhoto Users Guide for more information.
Page 276
10 Main Window Menu Commands
Assign
Assign menu command changes the class of one laser point.
It performs exactly the same action as the Assign Point Class tool.
Page 277
10 Main Window Menu Commands
To:
View statistics about points
Open the Macro window
Start an addon tool
Draw bounding box for fitting views
Draw points into a profile drawing
Draw points into alignment cross sections
Draw polygons around groups of points
Smooth points
Remove unnecessary point density
Adjust the elevations of points to a geoid model
Extract a local geoid model from a geoid file
Transform loaded points into a new projection
system
Transform a known points file into a new
projection system
Check the z accuracy of the laser data
Assign a group value to laser ponts
Assign color values to laser points
Assign a normal vector value to laser points
Assign color values from images to laser points
Assign echo properties to laser points
Compare laser points with points from a reference
project
Sort laser points
Draw building models from text files
Draw paint markings from text files
Draw section parameter values from text files
Draw slope arrows from text files
Page 278
10 Main Window Menu Commands
Show statistics
Show statistics menu command displays basic statistics information about laser points. In the upper part of the Statistics window, the amount of all points, active points and neighbor points are
listed, as well as the elevation range for all points. In the lower part, the separate classes are listed
with the point count, minimum elevation and maximum elevation values for each class.
Macro
Not Lite
Macro menu command opens the Macro window which lets you create a macro for automating
processing steps. The creation and use of macros in TerraScan is described in detail in chapter
Macros on page 429.
Addon
Addon sub-menu consists of commands that call custom functions in TerraScan. Commands can
be added to TerraScan using a custom DLL. An example is given by the View histogram function, that opens the Laser intensity histogram window. It displays the distribution of intensity
values of all loaded points or selected classes.
See Chapter DLL Interface on page 457 for more information about custom DLLs in TerraScan.
Page 279
10 Main Window Menu Commands
2.
3.
Thin
Within
Effect:
Source class(es) from which points are drawn into the profile.
Distance from the alignment element.
Determines if points are thinned for being drawn into the
profile:
No thinning - points are not thinned.
As point cloud - appropriate thinning when drawing 3D
objects such as trees or powerline towers.
As terrain surface - appropriate thinning when drawing a
ground surface.
Determines how close a point must be to the profile alignment
to be drawn into the profile.
Page 280
10 Main Window Menu Commands
2.
3.
Page 281
10 Main Window Menu Commands
Draw polygons
Draw polygons menu command draws 3D shapes or line strings around groups of points within
one or more point classes. The elevation of the vertices for the elements is defined by the laser
points.
2.
3.
Define settings.
Click OK.
This draws the polygons around point groups into the design file.
Setting:
Class
Inside fence only
Gap distance
Min size
Max size
Draw as
Simplify polygons
Favor 90 degree angles
Effect:
Source class(es) for drawing polygons around point groups.
If on, only the area inside a fence or selected polygon is
considered for processing.
Maximum distance of gaps up to which points are considered
to belong to one point group.
Minimum size of a polygon to be drawn.
Maximum size of a polygon to be drawn.
Definition of the element type that is created: Shapes or Line
strings.
If on, unnecessary vertices of the polygons are removed.
If on, 90 degree angles are created whenever it comes close to.
Page 282
10 Main Window Menu Commands
Smoothen points
Smoothen points menu command adjusts elevations of laser point so that a smoother surface is
created. You would normally run this on ground point class in order to:
Remove random variation in laser point elevations and produce a more accurate model.
Produce a smoother surface so that contours look nicer.
Produce a smoother surface so that profile drawings look nicer.
Smoothing is an iterative process where every point is compared with close-by points. A best fit
plane equation is derived for this group of points and the elevation of the center point is adjusted
to better match the plane equation.
During this iteration elevations of laser points are adjusted so that a smoother surface is created.
At the end of the iteration the application will try to decide what areas have become smooth and
what areas did not result in a smooth surface. Only the smooth areas will be adjusted. Areas which
have significant elevation changes will be restored to the original elevation values.
You should not use smoothing if:
All of the terrain is covered with low vegetation and there are no smooth surfaces.
You intend to extract features which have only a small elevation change such as road curb
stone lines. Those would be completely smoothed out.
You can incorporate a point class into smoothing which will be used as part of the surface but
which will not be modified. You should use this capability if you have classify points close to
breakline features into a separate class.
To smoothen points:
1.
2.
"
Effect:
Point class(es) to smoothen and to compare against.
Maximum elevation change upwards to apply to a point.
Maximum elevation change downwards to apply to a point.
Point class(es) to compare against but points in these classes
will not be modified.
Smoothing uses a large amount of memory. Approximately 92 bytes is allocated for every point
to be smoothed. This means that you can run smoothing on about 4 million points on a computer
with 512 MB of RAM.
Thin points
Thin points menu command removes unnecessary point density by removing some of the points
which are close to each other. You would often use this to thin ground points before creating a
triangulated surface model. See Model keypoints on page 424 for an alternative method for thinning points.
The thinning routine tries to find groups of points where all the points are within the given horizontal distance and the given elevation difference from a central point in the group. The Keep setting determines which of the points in each group will be kept.
Groups of points
To thin points:
1.
Page 284
10 Main Window Menu Commands
2.
Distance
Dz
Effect:
Class from which to remove unnecessary points.
Class into which removed points are classified.
Which point to keep in a group of close points:
Highest point - point with highest elevation.
Lowest point - point with lowest elevation.
Central point - point in the middle of the group.
Create average - substitute group by creating an average.
Point class
Horizontal distance limit between two points.
Elevation difference limit between two points.
Page 285
10 Main Window Menu Commands
Adjust to geoid
Adjust to geoid menu command adjusts the elevation values of a laser data set to a local elevation
model defined by a text file, a TerraModeler surface or a selected linear chain.
The theory of geoid adjustment and the use of the command in TerraScan are explained in detail
in section Geoid adjustment on page 313.
Choose Adjust to geoid command from Tools pulldown menu in the Main window.
This opens the Adjust to geoid dialog:
2.
Page 286
10 Main Window Menu Commands
The process can include a conversion from WGS84 into a projection system, a transformation between projection systems as well as the addition of an elevation difference. A projection system
has to be activated and a transformation has to be defined in TerraScan settings before they can be
used in this command. See Coordinate transformations / Transformations and Coordinate
transformations / User projection systems for more information.
2.
Effect:
Source geoid model
Name and location of the source geoid model file.
Conversion from WGS84 into a given projection system.
Transformation into the given projection system.
Addition of an elevation difference.
Name and location of the target file.
Page 287
10 Main Window Menu Commands
2.
Dz
File
"
Effect:
Point class(es) for which the transformation is applied.
Flightline number for which the transformation is applied.
Type of transformation:
Dz - elevation values are transformed by the given value.
Dxyz - coordinate values are transformed by values given in
a text file.
User defined projection change.
If Transform is Dz, value that is added to the original elevation
values of the laser points.
If Transform is Dxyz, name and location of the file storing the
transformation values.
Both, the original and the final coordinates must fit inside the design file coordinate system.
Page 288
10 Main Window Menu Commands
2.
Select the file that stores the known points coordinates and click Open.
This opens the Transform file dialog:
3.
4.
Define a name and location for the transformed file and click Save.
This saves the transformed known points into a new text file.
Page 289
10 Main Window Menu Commands
2.
3.
Effect:
Name and location of the file that stores the coordinates of the
control points.
Point class used for comparison with the control points.
Search radius around each known point.
Maximum terrain slope for which an elevation difference will
be computed.
Normal elevation variation of laser points. This value is used
only when computing the terrain slope so that small triangles
will not exceed Max slope.
Page 290
10 Main Window Menu Commands
Assign groups
Assign groups command assigns a group number to laser points of one or more classes. The software tries to find groups of points based on geometrical characteristics, such as the amount of
points close to each other and the distance to other points.
The group number can be used for the visualization of points and for classifying points. For instance, points on moving objects, such as cars on a road in an MLS data set, can by classified into
a separate class by first assigning a group number and then using the Groups command.
The group number can be stored in TerraScan Fast binary files.
2.
Require
Gap distance
Effect:
Point class(es) included in the search for groups.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes
from the list that are then used in the Class field.
Minimum number of points that form a single group.
Minimum distance between two single groups. If the distance
between a group and a point islarger than the given value, the
point either belongs to another group or to no specific group at
all.
Page 291
10 Main Window Menu Commands
2.
3.
4.
Select a laser point class in the Class list for which to assign color values. Click the >> button to select several classes.
Define values for Red, Green and Blue color channel. Values have to be between 0 and
255. A value of 255 for all three channels corresponds to white.
Click OK.
This assigns the defined RGB color to the points in the selected class(es).
Page 292
10 Main Window Menu Commands
Select Compute normal vectors command from the Tools pulldown menu.
This opens the Compute normal vectors dialog:
2.
Process flightlines
separately
Process scanners
separately
Effect:
Point class(es) for which dimensions and normal vectors are
computed.
Opens the Select classes dialog which contains the list of active
classes in TerraScan. You can select multiple source classes
from the list that are then used in the Class field.
If on, the dimension and normal vector computation is done for
each strip separately. This is recommended if the data of
different strips do not match to each other.
If on, the dimension and normal vector computation is done for
each scanner separately. This is recommended if the data of
different scanners do not match to each other.
Page 293
10 Main Window Menu Commands
1.
2.
Create a camera calibration file, a mission definition and an image list in TerraPhoto.
Select Extract color from images command from Tools pulldown menu.
This opens the Extract color from images dialog:
3.
Cpt file
Effect:
Laser point class(es) for which colors are extracted.
If on, color values are extracted for laser points inside a fence
or selected polygon.
Source files for color extraction:
Ortho images - colors are extracted from attached raster
images.
Raw images - colors are extracted from raw images defined
in an image list in TerraPhoto.
Raw images & color points - colors are extracted from raw
images and from a color point file.
Location and name of a color point file. This is only active if
Color source is set to Raw images & color points.
Page 294
10 Main Window Menu Commands
Setting:
Use image
Footprint
Effect:
Method how the software calculates the closest raw image:
Closest in 3D - each laser point gets color value from the
raw image that has the closest camera xyz position to the
laser point.
Closest in xy - each laser point gets color value from the raw
image that has the closest camera xy position to the laser
point.
Closest in time - each laser point gets color value from the
raw image that has the closest time stamp to the laser point.
Closest - Mobile logic - each laser point gets color value
from the raw image that is closest in time to the laser point.
This method is optimized for mobile data sets.
Radius of a circular area around each laser point within which
pixel color values are resampled.
Page 295
10 Main Window Menu Commands
Select Extract echo properties command from the Tools pulldown menu.
This opens the Extract echo properties dialog:
2.
3.
Select what properties you want to extract by switching the corresponding options on.
Click OK.
This starts the extraction process. It assigns the extracted attributes to all laser points for
which waveform information is available. Depending on the amount of points, the process
may take some time. An information dialog shows the number of effected points.
Page 296
10 Main Window Menu Commands
2.
Effect:
List of classes for ground comparison in active laser point file.
List of classes for ground comparison in reference project.
Elevation tolerance in comparison. Points within this elevation
tolerance are considered as corresponding points.
Points in the active file that are above the ground in the
reference file are classified into this class.
Points in the active file that are below the ground in the
reference file are classified into this class.
List of classes for object comparison in active laser point file.
List of classes for object comparison in reference project.
Xy radius around each point to search for corresponding points.
Elevation tolerance in comparison. Points within this elevation
tolerance are considered as corresponding points.
Points in the active file that differ from corresponding points in
the reference file are classified into this class.
Page 297
10 Main Window Menu Commands
Setting:
Ref to classes
Ignore objects close to
ground
Ignore outside polygons
Effect:
Points in the reference project that differ from corresponding
points in the active project are classified into this class.
If on, points close to the ground smaller than the given Height
are ignored for object comparison.
If on, points outside polygons on the given Level are ignored
for comparison.
Page 298
10 Main Window Menu Commands
Sort
Sort command sorts loaded laser points according to the selected attribute. The sub-menu includes
the following options for sorting points:
Select an option from the Sort sub-menu from the Tools pulldown menu.
This sort the points according to the selected attribute.
Select Read / Building models command from the Tools pulldown menu.
This opens the Read building models dialog, a standard dialog for opening files.
2.
3.
"
Effect:
If on, the walls are drawn by using colors chosen randomly
from the active color table of MicroStation.
If off, the color defined in Building vectorization / Model
category of TerraScan Settings is used for all walls.
You can undo the action by using the Undo command from the Edit pulldown menu of MicroStation.
Page 299
10 Main Window Menu Commands
Select Read / Paint lines command from the Tools pulldown menu.
This opens the Paint line files dialog, a standard dialog for opening files.
2.
3.
"
Effect:
Minimum length of a paint line that is drawn into the design
file. Any shorter line elements are ignored.
You can undo the action by using the Undo command from the Edit pulldown menu of MicroStation.
Page 300
10 Main Window Menu Commands
Select Read / Section parameters command from the Tools pulldown menu.
This opens the Section parameter files dialog, a standard dialog for opening files.
2.
3.
Effect:
If on, the fitted slope value of a section is drawn as text element.
If on, the edge-to-edge slope value of a section is drawn as text
element.
If on, the roughness value of a section is drawn as text element.
If on, the maximum deviation value of a section is drawn as text
element.
If on, the maximum depth value of ruts at a section location is
drawn as text element.
If on, the depth value of the left rut at a section location is drawn
as text element.
If on, the depth value of the right rut at a section location is
drawn as text element.
If on, the water depth value of the left rut at a section location
is drawn as text element.
If on, the water depth value of the right rut at a section location
is drawn as text element.
If on, the line of the fitted slope of a section is drawn as line
element.
Page 301
10 Main Window Menu Commands
Setting:
Effect:
Draw section elevation line If on, the line following the elevation variation of a section is
string
drawn as line string element.
"
You can undo the action by using the Undo command from the Edit pulldown menu of MicroStation.
Page 302
10 Main Window Menu Commands
Select Read / Slope arrows command from the Tools pulldown menu.
This opens the Slope arrow files dialog, a standard dialog for opening files.
2.
3.
Steep color
"
Effect:
Unit for expressing the slope gradient: Degree or Percentage.
Number of decimals used in slope gradient text elements.
Lenght of the arrowhead in the arrow drawing. Given in design
file units.
Width of the arrowhead in the arrow drawing. Given in design
file units.
Color of slope arrows and labels if the gradient is smaller than
or equal to the given value.
Color of slope arrows and labels if the gradient value is larger
than the value defined for Flat color and smaller than or equal
to the value defined for Steep color.
Color of slope arrows and labels if the gradient is larger than the
given value.
You can undo the action by using the Undo command from the Edit pulldown menu of MicroStation.
Page 303
10 Main Window Menu Commands
To:
Assign flightline number to laser points from
trajectory information
Assign flightline number to laser points from scan
pattern
Start a new flightline from a selected laser point
Modify the numbering of flightlines
Draw approximate flight path
Draw a flight path from a raw trajectory file
Apply a boresight angle correction
Remove points from overlapping flightlines
The Flightline pulldown menu is not available if laser data is loaded into TerraScan using the
Load Ground Points tool. In this case it is replaces by the Measurement pulldown menu which
offers special commands for laser data from static terrestrial scanners.
Page 304
10 Main Window Menu Commands
2.
3.
4.
Type a number for the first flightline in the First line field.
Select a Scan pattern type.
Click OK.
This attaches flightline numbers to the laser points according to the scan pattern. A message
window informs about the number of resulting flightlines.
Page 305
10 Main Window Menu Commands
Select a laser point in TerraScan Main window using the Identify button or by selecting a
row in the point list.
Select Start new at selection command from Flightline pulldown menu.
This attaches new flightline numbers to all following laser points.
Modify numbering
Modify numbering command modifies the number of single flightlines. The modification can be
done for all or a selection of laser point classes. Additionally, points of the renumbered flightline
can be reclassified to another class at the same time.
2.
Effect:
Laser point class for which the new flightline number is
attached.
Flightline number to be changed.
Target class for laser points of the renumbered flightline.
New flightline number.
Page 306
10 Main Window Menu Commands
2.
Effect:
Starts a new path element whenever the distance between
two consecutive laser points exceeds this value.
Page 307
10 Main Window Menu Commands
2.
Select the raw trajectory file(s), Add them to the list and click Done, when all files are
added to the list.
This opens the Read flight lines dialog:
The first coordinate values of the selected trajectory are displayed in the upper part of the
dialog. This helps to select the correct projection system for drawing the trajectory.
3.
4.
5.
6.
"
For more information about projection systems and transformations see Coordinate
transformations / Built-in projection systems and Coordinate transformations /
Transformations in TerraScan settings.
2.
Modify
Input as
Heading
Roll
Pitch
Effect:
Flightline to which to apply the correction. Choose Any to apply
the correction to all loaded points.
Scanner to which to apply the corrections. This is mainly used for
mobile ground-based systems if more than one scanner is included.
Coordinates to modify:
Xyz - applies a true angular correction.
Xy - applies a horizontal shift relative to trajectory and flight
direction.
Z - applies a change to elevation only.
Unit of angle values:
Degrees - angles given in decimal degrees.
Radians - angles given in radians.
Ratio - angles given as a ratio over a value corresponding to a
full circle.
Heading correction, increases clockwise.
Roll correction, increases left wing up.
Pitch correction, increases nose up.
Page 309
10 Main Window Menu Commands
Cut overlap
Not Lite
Cut overlap menu command removes laser points from locations where laser data from multiple
flightlines overlap. You can select if overlapping points will be classified to a specific class or if
they will be deleted from the data set.
This command can perform cutting using three distinct principles: Cut by quality, Cut by offset
and Cut by range.
Cut by quality
Cut by quality option removes lower quality laser points from locations where there is laser data
from a better flightline. This action makes sense only if there is a clear reason why one flightline
is better than another one. You might use this if:
You have laser data from two different flying altitudes. A lower flight pass is normally more
accurate than a higher one.
Hardware was not working at the best level for some flightlines.
GPS trajectory is weak for some flightlines.
You can define the quality of different flightlines as an attribute of the imported trajectories using
Manage Trajectories tool. If you do not have trajectory information, you can assign quality values
to different flightline number sequences in the Default flightline qualities category of TerraScan
settings.
Cut by quality option does not use time stamps.
Cut by offset
Cut by offset option removes laser points from the edges of the corridor if that location has been
covered more vertically from another flightline. This action serves two purposes:
Removing edges of the corridors produces a more uniform data density and point pattern.
Magnitude of error sources grows as scan angle increases. Removing edges of the corridors
gets rid of less accurate data and keeps the more accurate central part.
Page 310
10 Main Window Menu Commands
Cut by offset option requires trajectory information. If laser point time stamps are not available,
it will assume a perpendicular projection to the trajectory.
Before cut
Cut by range
Cut by range option removes laser points from the edges of the corridor if that location has been
covered by points from a shorter measurement distance. This option is designed for laser data from
mobile ground-based systems.
The software searches for points inside a sphere and cuts the points resulting from long measurements if points from a shorter range at the same location within the search radius are present.
Cut by range option requires trajectory information.
Before cut
To cut overlap:
1.
Page 311
10 Main Window Menu Commands
2.
Action
To class
Add
Cut by quality
Hole size
Cut by offset
Keep minimum
Cut by range
Search radius
Keep range
Effect:
List of point classes to consider when determining if a flightline
covers an area. Normally 0-255 to use all classes.
Action to perform on points to cut:
Add constant to class - add given value to class code.
Classify to single class - classify to one target class.
Delete - remove points from the data set.
Target class when Action is Classify to single class.
Value to add to classes when Action is Add constant to class.
If on, cut points from lower quality flightlines.
Approximate diameter of maximum acceptable hole.
If on, cut points by scan angle.
Minimum central part of the corridor to keep as degrees. Setting
this to 20 would keep a +10 .. -10 degree corridor.
If on, cut points from longer measurement distance.
Radius of a sphere within which the software searches for closer
range points from other drive passes.
Range within which all points are kept.
You can run cut overlap on the project blocks as a macro step. When you do this, you should use
some overlap from neighboring blocks to avoid ill effects at block boundaries.
Page 312
11 Coordinate Transformations
11
Coordinate Transformations
TerraScan can apply a coordinate transformation to point clouds at different steps of the processing workflow, for example, when loading or importing points, working with the points in RAM,
processing points in batch mode in a TerraScan project or with a macro step, or writing points to
output files. Coordinate transformations may also be applied to trajectories.
TerraScan divides coordinate transformations into several categories:
Projection system transformations - used to transform coordinates from one coordinate
system to another.
User-defined transformations - coordinate transformations which can be defined by a
number of parameters or equations.
Geoid adjustment - used to transform elevation values from one height model to another.
Systematic elevation correction - applies a single correction value to elevation values.
User-defined transformations
There are different types of transformations that can be used to manipulate the coordinate values
of point cloud data and trajectories in TerraScan. The implemented transformation types are:
Linear transformation
Equation transformation
Known points transformation
Xy multiply transformation
3D translate & rotate transformation
3D Affine transformation
You can define the values for the transformation parameters in Coordinate transformations /
Transformations category of TerraScan Settings.
Page 313
11 Coordinate Transformations
Geoid adjustment
The elevation values of raw laser data and trajectories are often provided as ellipsoidal height values. Usually, these values need to be transformed into orthometric values of a local height system.
For larger areas, the adjustment from ellipsoidal to orthometric height values can not be defined
as one mathematical formula. Therefore, the elevation adjustment model needs to be defined by
using local points for which the elevation difference between the height systems is known.
In TerraScan, the elevation adjustment can be performed for loaded points or for project blocks in
batch mode. See Adjust to geoid command for loaded points, Adjust to geoid command for project blocks, and Adjust to geoid command for trajectories for more information.
The six known points in the illustration above do not create a model that completely encloses the
laser data area. If the model does not provide any additional information, TerraScan automatically
adds four corner points (green points in the illustration) to expand the elevation adjustment model.
Each added corner point has the same dz value as the closest known point.
It is recommended to use an adjustment model that contains the complete project area and thus,
provides more accurate elevation information for project boundaries.
Page 314
11 Coordinate Transformations
2.
3.
4.
5.
The report of the elevation comparison shows, among other things, an Average dz value which
represents the average elevation shift of the point cloud from the GCP elevations. This value gives
some indication about the elevation accuracy of the point cloud. Furthermore, the value can be
used in a Linear transformation in order to improve the elevation match between point cloud
data and GCPs.
To apply a systematic elevation correction to a point cloud, proceed as follows:
1.
2.
3.
"
Create a control report using either Output control report command for loaded points or
Output control report command for project blocks.
Define a Linear transformation in TerraScan Settings. Use the given Average dz value
from the report with the inverse sign as Add constant Z value in the transformation definition.
Apply the transformation using Transform loaded points command for loaded points or
the Transform points action of a macro for project blocks or multiple files.
You can type the dz value directly into the Transform loaded points dialog if you want to apply
the elevation adjustment to loaded points only. In this case, you do not need to define a transformation in TerraScan Settings.
Page 315
11 Coordinate Transformations
The window contains the list of all GCPs in the input text file. For each point, the following information is shown:
Use - determines whether a GCP is used in the comparison or not. Switch control points on or
off by clicking on the square.
Number - identifier of the GCP.
Easting - easting coordinate of the GCP.
Northing - northing coordinate of the GCP.
Known Z - elevation coordinate of the GCP.
Laser Z - elevation value derived from the laser points at the GCPs XY location.
Dz - difference between Known Z and Laser Z. If the value exceeds a limit defined in the
Control report settings, the value is displayed in red.
Intensity - average of intensity values of the laser points at the GCPs XY location. This is
displayed if the option in the Control report settings is switched on.
Line - flightline number assigned to the laser points at the GCPs XY location. This is
displayed if the option in the Control report settings is switched on.
Below the GCP list, some statistical information computed from the elevation difference values
is provided. This includes average magnitude, standard deviation, and root mean square. Additionally, the average, minimum, and maximum value of elevation differences is displayed.
If a line in the list is selected, the MicroStation views defined in the Control report settings are
centered at the location of the corresponding GCP.
To show the location of a GCP, select a line in the list. Click on the Show location button and
move the mouse pointer into a view. This highlights the selected GCP with a square.
To identify a GCP, click on the Identify button and place a data click close to a GCP in a view.
This selects the corresponding line in the list.
The GCPs in the list can be sorted in different ways using the commands from the Sort pulldown
menu.
The report can be saved into a text file or sent to a printer using Save as text or Print commands
from the File pulldown menu.
Page 316
11 Coordinate Transformations
Setting:
Top view
Section view 1
Section view 2
Depth
Hilite limit
Display intensity
Display flightline
Effect:
Top view that is updated if a GCP is selected.
First section view that is updated if a GCP is selected. The
section is drawn in east-west direction.
Second section view that is updated if a GCP is selected.
The section is drawn in north-east direction.
Depth of a section in the section views. The actual depth
shown in a section view is the given value * 2.
Determines the limit for displaying elevation difference
values in red in the report.
If on, the average intensity value of the laser points at the
GCP location is displayed in the report.
If on, the flightline number of the laser points at the GCP
location is displayed in the report.
Page 317
12 Working with Projects
12
2.
Use Load Airborne Points tool or Read points command to load a subset of points (every
10th, 50th, 100th, ...) from all input files that belong to a project. This shows the
geographical coverage and location of laser points without providing the full point density.
Create block boundaries. There are several tools and methods that support the creation of
block boundaries:
Measure Point Density tool - estimate the amount of points inside a certain area by
using a rectangle as sample area.
MicroStation Place Shape tool - place boundary shapes for the blocks. Each block
should enclose a manageable number of points. You should use MicroStation snapping
tools to avoid gaps and overlap between neighboring block boundaries.
Design Block Boundaries tool - create shapes from a closed line work and get an
approximate number how many points are inside each shape.
Create along centerline command - create blocks along a linear element.
Create along tower string command - create blocks along a tower string element for a
powerline corridor.
Create grid block boundaries automatically during the import of point files. See
Import points into project command.
The result of block boundary creation is always a set of shape elements which include the
project area for processing. Each shape should enclose a part of the project area with a
number of points that easily fit into the computers memory.
3.
4.
5.
6.
7.
8.
9.
Once the points are imported into the project, you can process the data of the referenced files in
batch mode. You can run macros on the project which may include several processing steps. Macros can run in TerraScan but most of the macro actions can also be performed in TerraSlave. See
Chapter Macros on page 429 for detailed information.
Before you process project data in batch mode, you would test the settings of macro actions based
on loaded points in order to find the optimal parameter values for the project area. It is also recommended to test a macro on several blocks before you run it on the whole project.
Page 318
12 Working with Projects
Besides running macros on a project, there are several processing tasks that can be performed on
project level. The corresponding commands are included in the pulldown menus of the TerraScan
Project window and described in the following sections.
In the file list of the project window, all blocks that belong to the project are listed with the amount
of points in the referenced laser binary file. If Project file locking is active for a project, the list
also includes information about file locking.
To select a block, click on the name in the list. Press the <Ctrl-key> to select several blocks.
To show the location of a block, select a line in the Project window. Click on the Show location
button and move the mouse pointer into a view. This highlights the boundary of the selected block.
To identify a block, click on the Identify button and place a data click inside a block boundary in
a view. This selects the corresponding line in the Project window. Several blocks can be identified
if the <Ctrl-key> is pressed while selecting block locations in the view.
If the Project window is displaying a Long list, you can use the Select all and Deselect all buttons
in order to select and deselect all blocks. The Invert button selects all blocks that are previously
not selected and deselects previously selected blocks.
Page 319
12 Working with Projects
To:
Create a new project definition
Open an existing project definition
Save changes to an existing project definition
Save a new project definition
Edit project information and settings
Import laser files into the project
Import all laser files from a directory
Page 320
12 Working with Projects
New project
New project command creates a new project definition. The complete project definition includes
some descriptive information and a list of block boundaries. For the definition of block boundaries
see Add by boundaries on page 328.
2.
Data in
Load classes
automatically
Load trajectories
automatically
Reference project
exists
Effect:
Scanner type: Airborne, Mobile or Ground based.
Descriptive text for the project.
Start ID number for the laser data file.
Block binary file format: Scan binary 8 bit, Scan binary 16 bit,
EarthData EEBN, EarthData EBN or LAS binary. For more
information see Coordinate Transformations on page 312.
If on, a time stamp will be stored for each laser point.
If on, a RGB color value will be stored for each laser point.
If on, a project block file will be marked as locked when a user opens
it for modification with the Open block menu command. For more
information see Project file locking on page 321.
Defines how the directory for binary files is determined:
Project file directory - same directory where project file is placed.
This setting is independent of the absolute path of the data and is
therefore good in a network environment or when moving the data
set from one computer to another.
Separate directory - complete path is given in the Directory field.
If on, the defined Class file is automatically loaded with the project
into TerraScan.
If on, trajectories from the given Directory are loaded automatically
with the project into TerraScan.
If on, the given Project file is defined as reference project to be used
in corresponding tools.
Page 321
12 Working with Projects
Setting:
Default
Effect:
Size of rectangular blocks if points are encountered which are outside
all of the user block boundaries.
The above files would indicate that blocks 000317 and 000319 are undergoing modification and
are locked.
Operations supporting locking
The following actions lock a block binary file:
Page 322
12 Working with Projects
Open project
Open project command opens an existing project definition.
To open a project:
1.
2.
Save project
Save project command saves changes of the project definition to an existing project file. This can
be used after changing project settings or block definitions.
Save project as
Save project as command saves a project by creating a new project definition file with the extension .PRJ. This can be used after creating a new project definition.
2.
Select a location and type a name for the project file. Click Save.
This saves the project file.
Page 323
12 Working with Projects
Select Import points into project command from the File pulldown menu.
This opens the Import points into project dialog, a standard dialog for open files.
2.
Select input files and add them to the file list using the Add button. If all files are added to
the list, click Done.
This opens the Import points into project dialog:
3.
Page 324
12 Working with Projects
Setting:
Coordinates
WGS84
Define
Format
Transform
Input times
Survey date
Outside blocks
Block overlap
Only every
Default
Effect:
The coordinate axes show the coordinate values of the first point
in the laser file. This helps to decide if the points are in the correct
coordinate system or if an coordinate transformation has to be
applied.
If necessary, a transformation from WGS84 into a projection
system can be applied.
Opens the Transformation dialog which lets you define a
transformation. See Coordinate transformations /
Transformations category for more information. This is only
active if Transform is set to Define now.
Format of the input files. This is automatically recognized by the
software. For ASCII files, there might be more than one option.
Transformation applied to the points during the import process.
The list contains transformation that are defined in Coordinate
transformations / Transformations category of TerraScan
Settings. Select Define now in order to define a new
transformation.
GPS time format of the time stamps in the input files.
Date when the data was captured. The format is day/month/year
(dd/mm/yyyy). This is only active if Input time is set to GPS
seconds-of-week and the time stamp format for the project is set
to GPS standard time.
Defines how points outside the block boundaries are handled:
Ignore outside blocks - points outside boundaries are ignored.
Ignore outside selected - points outside selected block
boundaries are ignored. This is only active if blocks are selected
in the list of blocks in the Project window.
Create grid blocks - the software creates new blocks for the
points outside boundaries. The size of the new blocks is defined
by the Default setting in the Project information dialog.
Defines how points in overlapping block areas are handled:
No overlap - points in the overlapping area are loaded only in
the first of the overlapping blocks. The area is empty in all other
overlapping blocks.
Duplicate points - points in the overlapping area are loaded
into all blocks that overlap each other.
If on, only every nth point of the input files is imported where n is
the given value.
Point class that is assigned to all imported points if no class
attribute is stored in the input files. This is only active if Format
is set to any text file format that does not include the class attribute.
Page 325
12 Working with Projects
Setting:
Line numbers
Scanner number
Effect:
Defines, how line numbers are assigned to the points during the
import process:
Use from file - line numbers from source files are used.
Assign constant - the number given in the First number field
is assigned to all points.
From file name - the last numerical sequence in a file name is
used as line number.
From folder name - the last numerical sequence in the name
of the folder containing the input files is used as line number.
Deduce using time - numbers are assigned based on
trajectories loaded into TerraScan. The same process can be
performed for by the Deduce using time command or the
corresponding macro action.
Increase by xy jump - the line numbers incease from the given
First number if the xy distance is bigger than the value given
in the By distance field.
Increase by time jump - the line numbers increase from the
given First number if a jump in time stamps occurs. This
requires that trajectory information is available in TerraScan.
Increase by file - the line numbers increase from the given
First number for each separate file.
Increase by file name - the line numbers increase from the
given First number for each file with another file name. Files
with the same name get the same number.
Increase by directory - the line numbers increase from the
given First number for each file stored in another source
folder. Files from the same source folder get the same number.
The availability of options depends on the number of input files
and the attributes stored for points in the input files.
Defines, how scanner numbers are assigned to the points during
the loading process:
Use from file - scanner numbers from source files are used.
Assign constant - the number given in the First number field
is assigned to all points.
Increase by file - the scanner numbers increase from the given
First number for each separate file.
From file name - the first numerical sequence in a file name is
used as scanner number.
From folder name - the first numerical sequence in the name
of the folder containing the point files is used as scanner
number.
From line number - the line number is used as scanner
number.
The availability of options depends on the number of input files
and the attributes stored for points in the input files.
Page 326
12 Working with Projects
Import directory
Import directory command imports point files into the project. All files of the same format in a
directory are imported. The import process itself works in the same way as described for the
Import points into project command above.
2.
Files
Effect:
Folder from which to import files. Click on the Browse button in
order to select a folder in the Browse for Folder dialog.
Defines the files that are imported. You can use the * character as
placeholder for any number of characters in a file name or
extension. For example, *.las imports all LAS files from a folder,
*.* imports all files from a folder.
Page 327
12 Working with Projects
To:
Add block definitions to a project
Edit a block definition
Delete a block definition
Lock selected block files
Release the lock of a block file
Draw block boundaries into the design file
Create block boundaries along a centerline
Create block boundaries along a tower string
Transform block boundaries
Page 328
12 Working with Projects
Add by boundaries
Add by boundaries command adds the block boundaries to a project definition. This is usually
the second step of the project creation after defining settings of the project itself.
Project boundaries can be created using MicroStation drawing tools for polygons or shapes, or using one of the tools provided by TerraScan. See Create along centerline on page 332 or Create
along tower string on page 333 for more information.
Block file names include a prefix, a block number of six digits or a text string and the extension
*.bin for TerraScan binary files or *.las for LAS files.
Select boundary elements and (optional) text inside the boundaries using MicroStation
Selection tool.
Choose Add by boundaries command from Block pulldown menu.
This opens the Add blocks by boundaries dialog:
3.
Numbering
First number
Effect:
Prefix for the block binary file.
Order in which numbering is assigned to blocks:
Selection order - number increases in the same order as boundary
shapes are selected.
Selected numbers - the number is defined by a unique numerical
text that is placed inside the block boundary.
Selected strings - the file name is defined by a text string that is
placed inside the block boundaries.
North to south - numbering increases north to south and secondarily west to east.
South to north - numbering increases south to north and secondarily west to east.
West to East - numbering increases west to east and secondarily
south to north.
East to West - numbering increases east to west and secondarily
south to north.
Number of the first block to add.
Page 329
12 Working with Projects
Edit definition
Edit definition command lets you edit a block definition.
2.
"
Effect:
Block file name definition.
If on, the block file can be opened only for reading and modifications
are not allowed.
If the file name in the block definition is changed after points have been imported to the project,
the link between the file name in the project definition and the laser data file is lost unless the laser
data file is renamed accordingly.
Delete definition
Delete definition command deletes one or more block definitions from a project.
Page 330
12 Working with Projects
Lock selected
Lock selected command locks the selected block binary files and thus, disables processing of the
files on any other computer than the locking computer. See Project file locking for more information about the file locking concept of TerraScan.
The command is only available if Require file locking is active in the Project information dialog. See New project for a description of the dialog settings.
Release lock
Release lock command releases the lock for block binary files. The lock can be released only on
the same workstation that locked the file or if the file is already locked for more than 24 hours.
See Project file locking for more information about the file locking concept of TerraScan.
The command is only available if Require file locking is active in the Project information dialog. See New project for a description of the dialog settings.
Page 331
12 Working with Projects
Draw boundaries
Draw boundaries command draws block boundaries of already defined blocks in the design file.
This can be used to draw boundaries if points have been imported into the project without defining
block boundaries beforehand or after block files have been transformed.
(Optional) Select block definitions in the Project window to be drawn into the design file.
Select Draw boundaries command from Block pulldown menu.
This opens the Draw block boundaries dialog:
3.
Label
Effect:
Blocks to be draws: All blocks or Selected blocks.
Defines the way of labeling the blocks:
None - no labels are drawn.
Block number - the complete block number is drawn.
Full file name - the complete file name without extension is drawn.
Unique end of name - only the last unique number or text string of
the block names is drawn. This works only if more than one block
is drawn into the design file.
Page 332
12 Working with Projects
4.
Effect:
The length of the centerline element is displayed.
Length of a block measured along the centerline element.
Width of the blocks.
Defines labeling of the blocks: None or Draw texts.
Prefix for the text string drawn as label for each block. This is
followed by a number.
Number of the first block.
Defines the amount of digits for block numbering.
Page 333
12 Working with Projects
Draw a tower string using TerraScan Place Tower String tool or MicroStation drawing
tools.
Select the tower string using MicroStation Selection tools.
Select Create along tower string command from Block pulldown menu.
This opens the Create blocks along tower string dialog:
4.
Effect:
The length of the tower string is displayed.
Maximum length of a block. Routine combines several tower spans
into one block if the combined length is shorter than this value.
Width of the blocks.
Defines labeling of the blocks: None or Draw texts.
Prefix for text string drawn as label for each block. This is followed
by a number.
Number of the first block.
Defines the amount of digits for block numbering.
Page 334
12 Working with Projects
Transform boundaries
Transform boundaries command transforms the block boundaries. This affects the coordinates
of the block boundary vertices stored in the project definition file. The command can be used to
update a project if the laser data files have been transformed into a new projection system. After
transforming also the block boundaries, the location of the laser data and the blocks fit again to
each other.
2.
Use Draw boundaries command to draw the transformed boundaries into the design file.
"
Page 335
12 Working with Projects
To:
Display a short list of project block files
Display a medium list of project block files
Display a long list of project block files
Sort project block files
Short list
Short list command changes the Project window to a small size which consists of a title bar, the
pulldown menus, Show location and Identify buttons, and a small size list displaying the project
blocks.
Medium list
Medium list command changes the Project window to a medium size which consists of a title
bar, the pulldown menus, Show location and Identify buttons, and a medium size list displaying
the project blocks.
Long list
Long list command changes the Project window to a large size which consists of a title bar, the
pulldown menus, Show location, Identify, Select all, Invert, and Deselect all buttons, and a long
list displaying the project blocks.
Sort
Sort command displays the block definitions in the Project window sorted by a specific attribute.
The sub-menu of the command includes the following options for sorting:
Page 336
12 Working with Projects
To:
Run a macro on a project
Adjust the elevation of block files to a geoid
model
Adjust xyz coordinates of block files
Check the z accuracy of block files
View statistics about points in block files
Check the coverage of block files
Validate block boundaries
Copy points into block files from a reference
project
Assign color values from images to laser points in
block files
Assign echo properties to laser points
Export laser data from block files into lattice files
Export laser data from block files into raster
images
Export a 3D point cloud from ortho images
Output collections from block files
Run macro
The main benefit from defining a project is the ability to perform batch processing on blocks. Run
macro command lets you run a TerraScan macro on project level. This requires that you first define a macro which includes all the processing steps to perform. You can then execute that macro
on all or on selected blocks.
A macro can run on project level either by using TerraScan or by using TerraSlave. Using TerraSlave has the advantage that TerraScan and MicroStation are not blocked when a macro is processed.
For detailed information about macros and TerraSlave, see chapter Macros on page 429.
Page 337
12 Working with Projects
Adjust to geoid
Adjust to geoid command adjusts the elevation values of the block files to either a local elevation
model defined by a text file, a TerraModeler surface or a selected linear chain.
The theory of geoid adjustment and the use of the command for TerraScan projects are explained
in detail in section Geoid adjustment on page 313.
2.
3.
(Optional) Select the desired rows if you want to adjust only selected blocks.
Choose Adjust to geoid command from Tools pulldown menu.
This opens the Adjust blocks to geoid dialog.
4.
Adjust xyz
Adjust xyz command applies a varying xyz correction to the block files. The correction model is
defined by a text file containing rows with five fields: X Y dX dY dZ.
The command performs the same action on project level as the menu command Transform
loaded points from TerraScan Main window with setting Transform = Dxyz on loaded points.
(Optional) Select desired block files in the Project windows file list to manipulate only
selected block files.
Select Adjust xyz command from Tools pulldown menu.
This opens the Adjust xyz dialog:
3.
4.
5.
Select whether to adjust All blocks or Selected blocks in the Process field.
Define a correction model file in the File field.
Click OK to apply the adjustment to the block files.
Page 338
12 Working with Projects
(Optional) Select the desired block files in the Project windows file list if you want to
compare against selected blocks only.
Select Output control report command from Tools pulldown menu.
This opens the Output control report dialog:
3.
4.
Click on Browse and locate the text file which contains control points.
Enter other settings and click OK.
This performs the comparison and opens a report window which shows the elevation
differences between known points and laser data. The report is described in detail in Section
Systematic elevation correction on page 314.
Setting:
Process
Known points
Class
Max triangle
Max slope
Z tolerance
Effect:
Blocks to process: All blocks or Selected blocks.
Text file containing control points in rows with four space
delimited fields: identifier, easting, northing and elevation.
Point class to compare against.
Search radius around each known point.
Maximum terrain slope for which an elevation difference will be
computed.
Normal elevation variation of laser points. This value is used only
when computing the terrain slope so that small triangles will not
exceed Max slope.
Page 339
12 Working with Projects
Show statistics
Show statistics command calculates statistics for the project blocks. The output dialog includes
information about classes, point count as well as minimum, maximum and median elevation values. Besides for the whole project, these values are also calculated for each block and flightline.
The statistics can be saved into a text file.
2.
Check the statistics for the project, different blocks or flightlines by selecting the corresponding setting in the Display field.
The statistic values for all classes occurring in the data are listed in the lower part of the
Project statistics dialog.
3.
(Optional) Save the statistics into a text file using Save as command from File menu in the
Project statistics dialog.
The text file stores the point count for each class and the elevation values if Display is set to
Project total, and the point count for each class per block or flightline, if Display is set to
By block or By flightline.
Setting:
Display
Block
Flightline
Effect:
Content of statistics display:
Project total - values for the whole project are displayed.
By block - values are shown for the selected block.
By flightline - values are shown for the selected flightline.
Name of the block, for which statistic is shown. This is only active
if Display is set to By block.
Number of the flightline, for which statistic is shown. This is only
active if Display is set to By flightline.
Page 340
12 Working with Projects
Check coverage
Check coverage command finds holes and areas of low point density in the laser data of a project.
The area to be covered can be either defined by one or more selected polygons or by all block
boundaries of the project. The application calculates the point density within sample areas and decides to which coverage level an area belongs.
The command can create a few different output products to illustrate coverage. The options include the creation of a density raster image showing the point coverage in a TIFF file, the creation
of points that fill the holes and areas of low point density, as well as the output of the density calculation results in a report that can be saved as a text file.
The point coverage is defined in four levels: Covered, Almost covered, Almost hole and Hole.
User settings define the point densities which are interpreted as being holes or as being fully covered. If points are created to fill the holes and low density areas, TerraScan binary files are created
that store the artificial laser points in separate classes according to the coverage level. The points
are created in a uniform grid with a distance between points that is defined in the commands settings as well. The elevation of the points is set to be equal to the number of points found in the
sampling area.
Additionally to the *.bin files, a TerraScan project file is created that includes all binary files with
the artificial points. The name of the project file is density.prj. The binary and TIFF files are
named with the original block name.
(Optional) Draw and select one or more polygons around areas for which to check the
coverage.
Select Check coverage command from Tools pulldown menu.
If no polygon is selected, the application informs you that it will use all block boundaries
for the check. Click OK.
This opens the Check coverage dialog:
4.
Page 341
12 Working with Projects
"
Effect:
If on, holes are filled with artificial laser points that are stored in
TerraScan binary files for each block.
Directory for storing the created *.bin files and the *.prj file.
Class for artificial points in almost covered areas.
Class for artificial points in almost hole areas.
Class for artificial points in holes.
If on, a density raster image in TIFF format is created for each
block.
Directory for storing the created *.tif files.
Color in density raster image for areas outside the covered area.
Color in density raster image for covered areas.
Color in density raster image for almost covered areas.
Color in density raster image for almost hole areas.
Color in density raster image for holes.
If on, a report about the point densities per block is shown after the
calculation process.
Laser point class(es) that are included in the coverage calculation.
Distance between the artificial points that are created to fill holes
and areas of low density.
Radius of sampling area from which to calculate local point
density.
Point density required for an area being considered as covered.
Point density for an area that will be considered as hole.
Since the file names of the created files are fixed for this command, existing files are overwritten
without warning if the command is performed a second time on a project with the same directory
settings.
Page 342
12 Working with Projects
Validate blocks
Validate blocks command checks block definitions of a project regarding duplicated block
names, small area blocks, and overlap between block boundaries. This helps to analyze automatically created block boundaries and names before the block binary files are created.
To validate blocks:
1.
Page 343
12 Working with Projects
2.
Select one or more classes for which to apply the copied attributes.
Page 344
12 Working with Projects
3.
4.
5.
6.
Select a method how corresponding blocks are searched in the reference project.
Define settings for matching laser points between the reference and the current project.
Define laser point attributes that are copied from the reference project to the current project.
Click OK.
This copies the selected attributes to the laser points of the current project. An information
window shows the progress of the process. After finished processing, a report is displayed
that lists all blocks and the number of points that have been changed. The report can be saved
as a text file or printed out directly using commands from the File pulldown menu in the
report window.
Setting:
Apply to
Search in
Match by
Copy data
Effect:
One or more laser point classes for which the attributes are copied.
Click the >> button to select multiple source classes.
Method how corresponding blocks are searched in the reference
project:
Block with matching name - the block names in reference and
current project have to be the same.
Blocks close in xy - the blocks are at the approximately same
location.
Laser point attributes that are unchanged and unique for each laser
point and thus define a point clearly in reference and current
project.
Attributes that are copied from the laser points in the reference
project to the corresponding laser points in the current project.
Page 345
12 Working with Projects
1.
2.
3.
Create a camera calibration file, a mission definition and an image list in TerraPhoto.
(Optional) Select the desired block files in the Project windows file list if you want to
attach color values for selected blocks only.
Select Extract color from images command from Tools pulldown menu.
This opens the Extract color from images dialog:
4.
Cpt file
Effect:
Blocks for processing: All blocks or Selected blocks.
Laser point class(es) for which colors are extracted.
Source files for color extraction:
Ortho images - colors are extracted from attached raster
images.
Raw images - colors are extracted from raw images defined
in an image list in TerraPhoto.
Raw images & color points - colors are extracted from raw
images and from a color point file.
Location and name of a color point file. This is only active if
Color source is set to Raw images & color points.
Page 346
12 Working with Projects
Setting:
Use image
Footprint
Effect:
Method how the software defines the closest raw image to a
laser point:
Closest in 3D - raw image that has the closest camera xyz
position to the laser point.
Closest in xy - raw image that has the closest camera xy
position to the laser point.
Closest in time - raw image that has the closest time stamp
to the laser point.
Closest - Mobile logic - raw image that has the closest time
stamp to the laser point. This is only for laser points and
images from mobile systems.
This is only active if Color source is set to Raw images or
Raw images & color points.
Radius of a circular area around each laser point within which
pixel color values are resampled.
Page 347
12 Working with Projects
Select Extract echo properties command from the Tools pulldown menu.
This opens the Extract echo properties dialog:
2.
3.
4.
Page 348
12 Working with Projects
"
If Conserve memory setting for export lattice models on project level is on, the software first
reads through input files to determine how many points would be loaded to be able to make a
memory allocation for the exact number of points. This is slower but less likely to run out of memory.
Page 349
12 Working with Projects
Select block boundaries and (optional) text strings inside the boundaries.
Choose Export raster image command from Tools pulldown menu.
This opens the Export raster image dialog:
3.
4.
Class
Effect:
Coloring attribute:
Elevation - laser point elevation.
Elevation difference - elevation difference between
laser points of two different classes.
Intensity hits - intensity of laser points with center point
inside the pixel.
Intensity footprint - intensity of laser points with
footprint overlapping the pixel.
Point color - color values stored for laser points.
Point class - laser point class.
Point class(es) to use for image creation. Several classes can
be selected by clicking on the >> button.
Page 350
12 Working with Projects
Setting:
Value
Format
Colors
Pixel size
Fill gaps
Attach as reference
Range
Scheme
Degree
File naming
Directory
Effect:
Value determination within each pixel:
Lowest - Smallest value of the points.
Average - Average value of the points.
Highest - Highest value of the points.
This is only active for elevation and intensity coloring.
File format for the raster file: Windows BMP, GeoTIFF, or
GeoTIFF + TFW.
Color depth of raster image:
24 Bit Color - true color image.
256 Colors - 256 colors.
Grey scale - 8 bit grey scale.
This is only active for elevation and intensity coloring.
Size of each pixel in the target raster file.
If on, small gaps are filled in places where there are no laser
hits inside a pixel.
If on, the image is attached as raster reference to the design
file.
Defines the value range that is covered by the color scheme
for elevation and intensity coloring. Should be set to the
general elevation or intensity range covered in the laser data
to ensure that all values are represented by the complete
color scheme.
Type of coloring scheme for elevation or intensity coloring:
Cold to hot - varies from blue for low elevation to red for
high elevation. This is the common coloring scheme for
elevation coloring.
Hot to cold - varies from red for low elevation to blue for
high elevation.
Selected colors - a user defined coloring scheme can be
created by clicking the Define button. See more
information in section Color scheme definition on page
251.
Black to white - varies from black for low values to white
for high values. This is active if Colors is set to Grey
scale. This is the common coloring scheme for intensity
coloring.
White to black - varies from white for low values to
black for high values. This is active if Colors is set to
Grey scale.
Determines how the color changes in color schemes are
computed.
File naming setting for exporting selected rectangles:
Enter name for each - a name for each rectangle has to be
defined when saving the lattice models.
Selected text elements - selected texts inside the
rectangles are used as file names.
If File naming is set to Selected text elements, this sets a
directory for storing the raster image files.
Page 351
12 Working with Projects
Export 3D ortho
Export 3D ortho command generates a point cloud from orthophotos. The process combines orthophoto pixel location and color, and laser point coordinates in order to create a high-density colored point cloud. The resulting point cloud contains one point for each orthophoto pixel with the
following attributes:
XY coordinates - computed from the center of orthophoto pixels or used from the original
laser points.
Z coordinate - computed from a TIN generated from laser data or used from the original laser
points.
Class - defined by the source class in the laser data.
RGB color values - determined by the pixel color, the laser point color, or a fixed color.
The command requires TerraScan and TerraPhoto running on the same computer. The orthophotos must be attached as TerraPhoto raster references in order to create the 3D point cloud. In addition, the laser data in the block binary files should be classified in order to distinguish point
elevations on the ground, vegetation, building roofs, etc. This allows you to define different rules
for the point cloud generation depending on the object types.
The process can also include vector elements in the point cloud computation, such as 3D building
models or other 3D shapes.
The process creates a new TerraScan project file and block binary files for each orthophoto inside
the area covered by blocks of the original laser project. The names of the blocks and binary files
are determined by the names of the orthophotos. The point density and the amount of points per
block binary file of the generated point cloud is determined by the pixel resolution of the orthophotos but also by the rules for the point cloud creation.
4.
5.
6.
Define a storage directory and name for the Output project. The block binary files are
stored in the same folder as the project file. Click on the Browse button in order to define
the output project in a standard dialog.
Select a file format for the block binary files: Fast binary or LAS 1.2.
Click on the Add button in order to define rules for the export of different layers, such as
ground, vegetation, or buildings.
Page 352
12 Working with Projects
7.
8.
Max trianlge
Color source
RGB
Effect:
Descriptive name of the layer.
Defines how points are extracted for the export:
Grid from TIN - a grid is extracted from a TIN created
from the laser points. The XY location of a grid point is
determined by the pixel center, the elevation by the TIN.
Points directly - the original laser points are exported.
Maximum length of a triangle edge in the TIN. Determines how
big gaps are filled with points generated by aerial
triangulation.This is only active if Type is set to Grid from
TIN.
Defines the source for extracting RGB values for the points:
Ortho - each point gets the color of the closest pixel in the
orthophotos.
Point color - each point gets the color assigned to laser
points.
Fixed color - each point gets a fixed color value.
If on, a gap is enforced at boundaries between different classes
in the source laser data. This avoids that point are generated by
aerial triangulation between different point classes.
RGB color values of a fixed color assigned to points. This is
only active if Color source is set to Fixed color.
Page 353
12 Working with Projects
Setting:
List of classes
User surface objects
"
Effect:
Select the source class(es) for this layer. The list contains the
active classes in TerraScan.
If on, shape elements on the given Levels are used for
determining the elevation of exported points inside a shape
area.
The TerraScan project file for the exported point cloud is created with the Color attribute inactive.
Therefore, you have to switch the attribute on and save the project before you can see the points
displayed by color correctly. See Edit project information for instructions how to edit a project.
Page 354
12 Working with Projects
Output collections
TerraScan has the capability for creating logical groups of laser points which are hits on the same
object such as a building. You can perform the grouping by placing collections shapes around the
objects using the Place Collection Shape tool.
The collection shapes can be used to produce output files where logical groups of laser points are
grouped together. This output action starts from the Project window and automatically gathers all
the necessary laser points from the project blocks.
The output files can be created in two logical ways:
Each collection is written to its own output file. The output file format can be any output
format supported by TerraScan. The output file includes a collection number which comes
from a text element inside the collection shape or is generated automatically by the
application of an increasing number.
All collections are written to the same output file. The output file format should be a user
defined file format which includes Collection field so that points belonging to different
collections can be distinguished from each other. See File formats / User point formats on
page 38 for more information about how to define user file formats in TerraScan Settings.
2.
3.
Numbering
Create
Effect:
Collection shape type to output.
Point class(es) to output. Click the >> button to select multiple
source classes.
Output file format.
Number of decimals with which the coordinate values are stored in
the output files. This is only active if a text file format is chosen as
output format.
Source of collection numbers:
Automatic - application assigns increasing numbers to the file
names.
From texts - uses text elements inside collection shapes.
How to generate files: Single file or One for each shape.
Page 355
12 Working with Projects
Setting:
Directory
Prefix
Extension
Effect:
Directory for storing output files.
File name prefix before the collection number is added.
File name extension.
Page 356
13 Manage Trajectories
13
Manage Trajectories
Trajectories are required for many processing steps in TerraScan and TerraMatch. They provide
positional and, usually, attitude information of the scanner system for each point of time during
the data collection.
Normally, the raw trajectory is produced by so-called post-processing software that combines the
input of GPS and IMU sensors. The raw trajectory may be provided in a binary or ascii file format.
TerraScan is able to import common binary formats of post-processing software as well as a number of ASCII formats. Additional text file input formats for trajectories can be defined in File
formats / User trajectory formats category of TerraScan Settings. All imported trajectories are
converted into the TerraScan trajectory binary format (*.TRJ). See Trajectory file formats for
more information.
All commands related to trajectories is combined in the TerraScan Trajectories window which is
opened by the Manage Trajectories tool.
The list in the window shows all TerraScan trajectory files that are stored in the active trajectory
folder. The active directory is shown in the title bar of the window.
To select a trajectory, click on the line in the list. Press the <Ctrl-key> to select several trajectories.
To show the location of a trajectory, select a line in the list. Click on the Show location button
and move the mouse pointer into a view. This displays the selected trajectory. With a data click
inside the view you can center the selected trajectory in the view.
To identify a trajectory, click on the Identify button and place a data click close to a trajectory in
a view. This selects the corresponding line in the Trajectories window.
Page 357
13 Manage Trajectories
To:
Set the active trajectory folder
Import trajectory files
Import trajectory files from a folder and its subfolders
Import separate text files from GPS and INS
sensors
Import accuracy files for trajectories
Export trajectory information into text files
Page 358
13 Manage Trajectories
Set directory
Set directory command is used to define the active trajectory directory. The software writes trajectory files into this folder during the import process. It loads TerraScan trajectory files from a
folder if it is set as active directory and files do already exist. Usually, this is the first command
you use when you start working with trajectories.
It is good practice to reserve a folder in your project directory structure for storing trajectories imported into TerraScan. In some cases, it might be advisable to save a new copy of TerraScan trajectories. Then, you would have multiple trajectory directories in a project and change the active
directory whenever needed in order to access the correct set of trajectory files.
2.
Page 359
13 Manage Trajectories
Import files
Import files command is used to import raw trajectories into TerraScan. During the import, trajectory information is converted into TerraScan trajectory binary files (*.TRJ).
The input files must contain at least time-stamped position and, for most processing tasks, attitude
information. The input files can be:
text files in one of the implemented ASCII formats, see Supported file formats
binary files from Applanix or Riegl software, see Supported file formats
text files in a user-defined file format, see File formats / User trajectory formats
During the import, the software assigns some attributes to the trajectories and can apply coordinate
transformations and/or a time stamp format conversion. Most of the settings defined in the import
process can be changed later for the converted trajectory files by using the Edit information command or commands from the Tools pulldown menu.
2.
3.
Page 360
13 Manage Trajectories
Setting:
File format
Attitude format
First number
Group
Quality
System
WGS84
Transform
Input time
Store time as
Survey data
Input angles
Adjust heading
Thin positions
Xyz tolerance
Angle tolerance
"
Effect:
File format of the input file(s). This is usually recognized
automatically for implemented input formats.
Format of the INS file. This is only active if Merge from GPS and
INS command is used to import trajectory information.
Number assigned to the first trajectory file. If more than one file is
imported, the files are numbered incrementally.
Group number assigned to trajectory file(s). Groups may indicate,
for example, different flight sessions and can be used by
TerraMatch processes.
Quality attribute assigned to trajectory file(s). Quality may
indicate, for example, the accuracy of trajectories and can be used
for TerraMatch and TerraScan processes.
Scanner system used for data collection. This may add lever arm
corrections to trajectory positions and thus, effect the computation
of the scanner location at the moment of measuring a laser point.
Transformation from WGS84 coordinates to another projection
system applied during the import. The list contains projection
systems that are active in Coordinate transformations / Built-in
projection systems, Coordinate transformations / US State
Planes, and Coordinate transformations / User projection
systems categories of TerraScan Settings.
Transformation applied during the import. The list contains
transformations defined in Coordinate transformations /
Transformations category of TerraScan Settings.
Format of time stamps in the raw trajectory file(s): GPS secondsof-week, GPS standard time, or Unix time.
Format of time stamps in the converted files: GPS seconds-ofweek, or GPS standard time. If the format is different from the
Input time format, time stamps are converted.
Date when the trajectory data was captured. The format is day/
month/year (dd/mm/yyyy). This is required for the conversion of
time stamps from GPS seconds-of-week to GPS standard time
and is only active if Input time and Store time as are set
accordingly.
Format of angle values in the raw trajectory file(s): Degrees,
Radians, or TopEye radians. This is usually set automatically for
implemented input formats.
If on, the software applies a meridian convergence correction to
heading values. The correction is based on the projection system
set for WGS84 or the coordinate transformation set for
Transform.
If on, intermediate positions are skipped as long as the trajectory
accuracy stays within the given tolerances.
Maximum allowed locational change of the trajectory caused by
thinning. This is only active if Thin positions is switched on.
Maximum allowed angular change of the trajectory caused by
thinning. This is only active if Thin positions is switched on.
TerraScan and TerraMatch do not need highly accurate trajectory information. It is beneficial to
remove unnecessary positions with Thin positions setting when importing a raw trajectory. This
reduces the amount of memory consumed by trajectory information and speeds up processes.
Page 361
13 Manage Trajectories
Import directory
Import directory command imports trajectory files into TerraScan. All files of the same format
in a directory are imported. The import process itself works in the same way as described for the
Import files command above.
2.
Effect:
Folder from which to import files. Click on the Browse button in
order to select a folder in the Browse for Folder dialog.
Defines the extension of files that are imported. You can use the *
character as placeholder for any file extension or type a specific
extension.
Select Merge from GPS and INS command from the File pulldown menu.
This opens the GPS positions files dialog, a standard dialog for opening files.
2.
3.
4.
Page 362
13 Manage Trajectories
3.
Page 363
13 Manage Trajectories
Output positions
Output positions command saves trajectory positions into text files. It creates a separate text file
for each trajectory file. The format of the output files can be defined in File formats / User
trajectory formats of TerraScan Settings. There are also two implemented output formats. The
software writes one line for each trajectory position into an output file.
(Optional) Select the trajectories in the list of the Trajectories window for which you want
to save positions into text files.
Select Output positions command from the File pulldown menu.
This opens the Output trajectory positions dialog:
3.
Format
File names
Directory
Prefix
Extension
Effect:
Trajectories for which text files are created: All trajectories or
Selected only.
Text file format, defines which attributes are stored in the columns
of the text file. The list contains two implemented formats:
TYXZRPH - time northing easting elevation roll pitch heading
TXYZ - time easting northing elevation
and any formats defined for output in File formats / User
trajectory formats.
Method of naming the output files:
Prefix and line number - name contains a prefix and the
trajectory number.
Same as trj file - name of the trajectory binary file is used.
Folder into which the output files are written. Click on the Browse
button in order to select a folder in the Browse for Folder dialog.
Text string added in the beginning of an output file name. This is
only active if File names is set to Prefix and line number.
File name extension.
Page 364
13 Manage Trajectories
To:
Modify trajectory information
Assign a number by identifying a laser point
Delete selected trajectories
View positions of a selected trajectory
Use:
Edit information
Assign number
Delete
View positions
The commands of the pulldown menu are only available if at least one trajectory is selected in the
Trajectories window.
Page 365
13 Manage Trajectories
Edit information
Edit information command opens a dialog that contains basic information and attributes stored
for a selected trajectory. The attributes can be modified. Modifications are immediately stored in
the binary trajectory file.
In addition, up to two video files and a waveform file can be linked to a trajectory. The video file
settings are not actively used by TerraScan but required for the compatibility of trajectories with
TerraPhoto.
3.
Quality
System
Description
Effect:
Number of the trajectory.
Group number of the trajectory. Group numbers may indicate, for
example, different flight sessions and are used for TerraMatch
processes.
Quality attribute of the trajectory. Quality may indicate, for
example, the accuracy of trajectories and can be used for
TerraMatch and TerraScan processes.
Scanner system used for data collection. This determines lever arm
corrections that are added to trajectory positions and thus, effects
the computation of the scanner location at the moment of
measuring a laser point.
Text that describes the trajectory. By default, the name of the raw
trajectory file is used as descriptive text.
Page 366
13 Manage Trajectories
Setting:
Video 1
Start time
End time
Video 2
Start time
End time
Waveform
"
Effect:
Primary video file linked to the trajectory. This is not actively used
by TerraScan but reqired for the compatibility of trajectories with
TerraPhoto.
GPS time stamp of the start position of Video 1.
GPS time stamp of the end position of Video 1.
Secondary video file linked to the trajectory. This is not actively
used by TerraScan but reqired for the compatibility of trajectories
with TerraPhoto.
GPS time stamp of the start position of Video 2.
GPS time stamp of the end position of Video 2.
Waveform data file linked to the trajectory. See Link to waveform
files command and Chapter Waveform Processing on page 155
for more information.
If you select several trajectories in the Trajectories window, the Edit information command
opens the Edit several trajectories dialog. This dialog allows you to modify only settings which
may apply for several trajectories, such as Group, Quality, and System settings.
Page 367
13 Manage Trajectories
Assign number
Assign number command lets you modify the trajectory number based on laser points loaded in
TerraScan. It assigns the line number of the laser point closest to a data click as trajectory number
to the selected trajectory.
The command applies the number only to one trajectory at a time. If several trajectories are selected, only the first one is effected by the number assignment.
Delete
Delete command deletes one or more selected trajectory files. The entries for the files are removed
from the list and the binary files are deleted from the hard disc.
To delete trajectories:
1.
2.
3.
View positions
View positions command can be used to display the single positions of a trajectory file. The command opens a window that shows the list of positions and for each position the attributes stored in
the trajectory file. This may include the time stamp, coordinate values, heading, roll, and pitch values, as well as RMS values.
To show the location of a trajectory position, select a line in the list of positions. Click on the Show
location button and move the mouse pointer into a view. This highlights the selected position with
a cross. Place a data click inside a view in order to center the display at the selected position.
To identify a position, click on the Identify button and place a data click close to a trajectory in a
view. This selects the line of the position closest to the data click in the View trajectory positions
dialog.
Page 368
13 Manage Trajectories
To:
Display a small window
Display a larger window
Sort trajectories according to specific criteria
Select fields to be displayed in the window
Use:
Small dialog
Large dialog
Sort
Fields
Small dialog
Small dialog command changes the size of the Trajectories window to be a small window.
Large dialog
Large dialog command changes the size of the Trajectories window to be a large window.
Sort
Sort command defines the display order of trajectory files in the list. The trajectories can be sorted
by up to two attributes.
2.
3.
Setting:
Primary key
Secondary key
Effect:
Attribute used first for sorting the trajectories:
Number - increasing trajectory numbers.
Group - increasing group numbers.
Time - increasing time stamps.
Attribute used second for sorting the images:
See Primary key attributes.
None - no secondary key is used for sorting.
Page 369
13 Manage Trajectories
Fields
Fields command lets you select which attributes are displayed for each trajectory in the Trajectories window.
2.
Field:
Number
Group
Quality
System
File
Description
Vertical video
Forward video
Waveform file
Start time
End time
Duration
Description:
Trajectory number.
Group number of the trajectory.
Attribute that indicates the quality of the trajectory.
Scanner system assigned to the trajectory.
Name of the trajectory binary file on the hard disk.
Description of the trajectory given in the Trajectory information dialog.
Name of the video file defined as Video 1 in the Trajectory information
dialog. See Edit information command.
Name of the video file defined as Video 2 in the Trajectory information
dialog. See Edit information command.
Path and name of a waveform file linked to the trajectory.
Time stamp at the start of the trajectory.
Time stamp at the end of the trajectory.
Length of the trajectory in seconds.
Page 370
13 Manage Trajectories
To:
Split a trajectory manually
Split trajectories automatically at turnarounds
Split trajectories and keep only parts inside a
polygon
Split trajectories at gaps in laser data
Link trajectories to waveform files
Apply new numbers to trajectories
Remove unnecessary trajectory positions
Transform trajectory coordinates
Add lever arms to trajectory positions
Adjust trajectory elevations to a geoid model
Convert trajectory angle values
Convert trajectory time stamps
Create macros automatically based on trajectory
information
Draw trajectories into the design file
Use:
Split
Cut turnarounds
Delete outside polygons
Split at laser gaps
Link to waveform files
Renumber trajectories
Thin positions
Transform
Add lever arm
Adjust to geoid
Convert angles
Convert time stamps
Create macro / For stops and turns
Create macro / For poor accuracy
Create macro / For repeated passes
Draw into design
Page 371
13 Manage Trajectories
Split
Split command can be used to split a trajectory manually into smaller parts. This is useful for some
tools that require that one trajectory does not contain turnarounds and overlaps itself.
The command lets you define the location for splitting the trajectory with a data click.
To split a trajectory:
1.
2.
3.
Define the position at which to split the trajectory with a data click.
This splits the trajectory at the given position. The application deletes the old trajectory file
and creates two new files in the active trajectory directory.
"
There are also automatic ways to split a trajectory. See Cut turnarounds, Delete outside
polygons, and Split at laser gaps commands for more information.
Page 372
13 Manage Trajectories
Cut turnarounds
Cut turnarounds command splits a trajectory into several trajectories that do not overlap themselves anymore. It does not remove any parts of the original trajectory. The following figure illustrates the method.
Original trajectory
Resulting trajectories
(Optional) Select the trajectory file(s) you want to cut in the Trajectories window.
Select Cut turnarounds command from the Tools pulldown menu.
This opens the Cut turnarounds dialog:
3.
Field:
Apply to
First number
Description:
Trajectories effected by the process: All trajectories or Selected only.
Number of the first additional trajectory that is created by the process.
Page 373
13 Manage Trajectories
Original trajectory
Resulting trajectories
Use MicroStation tools to draw polygon(s) around areas where you want to keep trajectory
information. Select the polygon(s).
(Optional) Select the trajectory file(s) you want to cut in the Trajectories window.
Select Delete outside polygons command from the Tools pulldown menu.
This opens the Delete outside polygons dialog:
4.
Field:
Apply to
First number
Description:
Trajectories effected by the process: All trajectories or Selected only.
Number of the first additional trajectory that is created by the process.
Page 374
13 Manage Trajectories
(Optional) Select the trajectory file(s) you want to cut in the Trajectories window.
Select Split at laser gaps command from the Tools pulldown menu.
This opens the Split at laser gaps dialog:
3.
Field:
Apply to
Gap
First number
Description:
Trajectories effected by the process: All trajectories or Selected only.
Minimum time interval that defines a gap in the laser data. If there is data
missing for a longer time, the trajectory is splitted.
Number of the first additional trajectory that is created by the process.
Page 375
13 Manage Trajectories
(Optional) Select the trajectory file(s) you want to link in the Trajectories window.
Select Link to waveform files command from the Tools pulldown menu.
This opens the Link to waveform files dialog:
3.
4.
5.
Click OK.
This links trajectories to the waveform files and updates the trajectory files in the active
trajectory directory. An information dialog shows the amount of trajectories that are effected
by the process.
Field:
Apply to
Add files
Remove
Description:
Trajectories linked to waveform files: All trajectories or Selected only.
Opens a dialog for selecting waveform files.
Removes a selected waveform file from the list.
Page 376
13 Manage Trajectories
Renumber trajectories
Renumber trajectories command applies a new numbering to trajectories. It assigns increasing
numbers to the trajectories according to their order in the Trajectories window.
Renumbering can be useful, for example after a new sorting has been applied to the active trajectories using the Sort command.
To renumber trajectories:
1.
2.
(Optional) Select the trajectory file(s) you want to sort in the Trajectories window.
Select Renumber trajectories command from the Tools pulldown menu.
This opens the Renumber trajectories dialog:
3.
Field:
Apply to
First number
Description:
Trajectories effected by the process: All trajectories or Selected only.
Number of the first trajectory in the list.
Page 377
13 Manage Trajectories
Thin positions
Thin positions command removes positions from trajectories. The process removes positions as
long as the trajectory line stays within given accuracy tolerance values.
(Optional) Select the trajectory file(s) you want to thin in the Trajectories window.
Select Thin positions command from the Tools pulldown menu.
This opens the Thin trajectory positions dialog:
3.
Field:
Description:
Apply to
Trajectories effected by the process: All trajectories or Selected only.
Keep position every Time interval between two trajectory positions to keep.
Maximum allowed locational change of the trajectory caused by
Xyz tolerance
thinning.
Angle tolerance
Maximum allowed angular change of the trajectory caused by thinning.
"
Thinning can also be applied to a trajectory in the import process. See Import files command for
more information.
Page 378
13 Manage Trajectories
Transform
Transform command applies a transformation to the coordinates of a trajectory. The transformation can be, for example, a change of the projections system or any other transformation defined
in Coordinate transformations / Transformations category of TerraScan Settings.
You can find more detailed information about transformations in Chapter Coordinate
Transformations on page 312.
To transform a trajectory:
1.
2.
3.
Setting:
Apply to
WGS84
Transform
Adjust heading
Effect:
Trajectories to transform:
All trajectories - all trajectories in the list.
Selected only - selected trajectories only.
Target projection system for applying a transformation from WGS84
coordinates to the given projection system. You can choose from any
of the builtin or user-defined projections systems which are set as
active in Coordinate transformations / Built-in projection
systems, Coordinate transformations / US State Planes, or
Coordinate transformations / User projection systems categories
of TerraScan Settings.
User-defined transformation to apply. The list includes
transformations that is defined in Coordinate transformations /
Transformations of TerraScan Settings.
If on, the software applies a meridian convergence correction to
heading values. The correction is based on the projection system set
for WGS84 or the coordinate transformation set for Transform.
Page 379
13 Manage Trajectories
(Optional) Select the trajectory file(s) you want to modify in the Trajectories window.
Select Add lever arm command from the Tools pulldown menu.
This opens the Add lever arm to trajectories dialog:
3.
Field:
Apply to
Lever X
Lever Y
Lever Z
Description:
Trajectories effected by the process: All trajectories or Selected only.
X component of the lever arm vector.
Y component of the lever arm vector.
Z component of the lever arm vector.
Page 380
13 Manage Trajectories
Adjust to geoid
Adjust to geoid command applies an elevation correction to trajectory files. The command is
used, for example, to transform the WGS84-based ellipsoidal elevation values of a raw trajectory
file to a local height model. The input model for geoid adjustment must be provided in one of the
following formats:
Points from file - text file containing space-delimited X Y dZ- points.
TerraModeler surface - triangulated surface model created from X Y dZ - points. The
surface model in TerraModeler has the advantage that you can visualize the shape of the
adjustment model.
Selected linear chain - linear element of which the vertices represent the X Y dZ - points.
XY are the easting and northing coordinates of the geoid model points, dZ is the elevation difference between ellipsoidal and local heights at the location of each geoid model point. Intermediate
adjustment values of the model are derived by aerial (text file or surface model as input) or linear
(linear element as input) interpolation between the known geoid model points.
You can find more detailed information about elevation adjustment in Section Geoid adjustment
on page 313.
4.
5.
Define the text file that contains the geoid point coordinates and elevation differences and
click Open.
This applies the elevation adjustment to all or selected trajectories. The modification is saved
to the trajectory binary files in the active trajectory directory. An information dialog shows
the minimum and maximum values of the adjustment.
Setting:
Process
Dz model
Extend
Effect:
Trajectories to adjust:
All trajectories - all trajectories in the list.
Selected only - selected trajectories only.
Source file that provides the geoid correction model:
Points from file - text file.
Selected linear chain - linear element selected in the design file.
<name> - name of the geoid model surface loaded in
TerraModeler.
Distance of a linear extension. This is only active if Dz model is set
to Selected linear chain.
Page 381
13 Manage Trajectories
Convert angles
Convert angles command lets you apply a mathematical equation to the attitude angles heading,
pitch, and roll of each trajectory position. The current angle value can be accessed by using constants H (heading), R (roll), and P (pitch). Thus, the command can also be used to exchange angle
values.
3.
Setting:
Apply to
Heading
Roll
Pitch
Effect:
Trajectories for which the computation of new angles is applied:
All trajectories - all trajectories in the list.
Selected only - selected trajectories only.
Equation for modifying the heading angle.
Equation for modifying the roll angle.
Equation for modifying the pitch angle.
Page 382
13 Manage Trajectories
3.
Setting:
Apply to
Current values
Convert to
Survey date
Effect:
Trajectories for which the conversion of time stamps is applied:
All trajectories - all trajectories in the list.
Selected only - selected trajectories only.
Original time stamp format of the trajectory positions.
Target time stamp format.
Date when the trajectory data was captured. The format is day/month/
year (dd/mm/yyyy). This is only active for the conversion from GPS
seconds-of-week to GPS standard time.
Page 383
13 Manage Trajectories
Select Create macro / For stops & turns command from the Tools pulldown menu.
This opens the Macro for stops & turns dialog:
2.
Setting:
Classify stops
From class
To class
Buffer
Classify turns
Left turn from
Left turn to
Right turn from
Effect:
If on, the software searches for stops.
Point class(es) from which to classify points. The list contains the
active point classes in TerraScan.
Target class for points collected during stops. The list contains the
active point classes in TerraScan.
Number of seconds that is added to each stop time interval. The
seconds are added at the beginning and in the end of a stop.
If on, the software searches for turns.
Point class(es) from which to classify points collected during turns to
the left. The list contains the active point classes in TerraScan.
Target class for points collected during a turns to the left. The list
contains the active point classes in TerraScan.
Point class(es) from which to classify points collected during turns to
the right. The list contains the active point classes in TerraScan.
Page 384
13 Manage Trajectories
Setting:
Left turn to
Heading change
Buffer
Effect:
Target class for points collected during a turns to the right. The list
contains the active point classes in TerraScan.
Minimum change in heading angle that defines a turn. As long as the
heading angle between consecutive trajectory positions changes more
than the given degree value per second, the change is considered a
turn and the respective time stamps are added to the macro step.
Number of seconds that is added to each turn time interval. The
seconds are added at the beginning and in the end of a turn.
Page 385
13 Manage Trajectories
Select Create macro / For poor accuracy command from the Tools pulldown menu.
This opens the Macro for poor accuracy dialog:
2.
Setting:
From class
To class
Xy accuracy
Z accuracy
Heading accuracy
Roll/pitch accuracy
Roll or pitch
Buffer
Effect:
Point class(es) from which to classify points. The list contains the
active point classes in TerraScan.
Target class for points collected during poor trajectory accuracy. The
list contains the active point classes in TerraScan.
If the xy accuracy value is bigger than the given value, the trajectory
position is added to the macro.
If the z accuracy value is bigger than the given value, the trajectory
position is added to the macro.
If the heading accuracy value is bigger than the given value, the
trajectory position is added to the poor accuracy macro.
If the roll/pitch accuracy value is bigger than the given value, the
trajectory position is added to the macro.
If the value of roll or pitch angle is bigger than the given value, the
trajectory position is added to the macro.
Number of seconds that is added to each poor accuracy time interval.
The seconds are added at the beginning and in the end of a time
interval.
Page 386
13 Manage Trajectories
Select Create macro / For repeated passes command from the Tools pulldown menu.
This opens the Macro for repeated passes dialog:
2.
Setting:
From class
To class
Keep pass
Minimum interval
Buffer
Xyz within
Effect:
Point class(es) from which to classify points. The list contains the
active point classes in TerraScan.
Target class for points collected in repeated passes. The list contains
the active point classes in TerraScan.
Defines which data is kept in the original class:
First - data of the first pass.
Last - data of the last pass.
Best xyz - data of any pass with the best positional accuracy.
Best hrp - data of any pass with the best attitude accuracy.
Minimum time interval within which the software searches for
repeated pass points.
Number of seconds that is added to each repeated pass time interval.
The seconds are added at the beginning and in the end of a time
interval.
Defines the maximum distance between repeated passes. If passes are
less than the given distance apart from each other, they are considered
repeated passes.
Page 387
13 Manage Trajectories
Setting:
Heading within
Effect:
Defines the maximum angular difference between repeated passes. If
the heading angle between passes is smaller than the given value, they
are considered as repeated passes.
Page 388
13 Manage Trajectories
3.
4.
Define settings.
If the trajectory is drawn with an accuracy-based coloring option, click on the Colors button.
This opens the Coloring scheme dialog:
Page 389
13 Manage Trajectories
5.
6.
7.
8.
Setting:
Draw
Color by
Colors
Thin positions
"
Effect:
Trajectories that are drawn:
All trajectories - all trajectories in the list.
Selected only - selected trajectories only.
Determines how the color is chosen for drawing a trajectory line:
Active color - the active color of MicroStation is used.
Trajectory number - the color whose number in the active color
table of MicroStation corresponds to the trajectory number is used.
Xy accuracy - x/y accuracy values are applied to a color scheme.
Z accuracy - z accuracy values are applied to a color scheme.
H accuracy - heading accuracy values are applied to a color
scheme.
Rp accuracy - roll/pitch accuracy values are applied to a color
scheme.
Button to open the coloring scheme for accuracy-based coloring
methods.
If on, intermediate trajectory positions are skipped when the line is
drawn as long as the line accuracy stays within the given positional
Accuracy tolerance.
You can undo the drawing of trajectories by using the Undo command from the Edit pulldown
menu of MicroStation.
Page 390
14 Geometry Component Fitting
14
Page 391
15 Key-in commands
15
Key-in commands
Some of the tools in TerraScan can be started by entering a key-in command.
Key-in commands are handy because you can assign those to function keys in MicroStation and
thus have hot key combinations for specific operations.
This chapter gives information about those key-in commands which you may consider assigning
to function keys.
Effect:
Source class from which to classify. Use from=999 or from=any to use any
visible points.
Target class to classify to.
Points to classify: single or group.
How to select point to classify: closest, highest or lowest.
Search radius in master units if selecting highest or lowest point.
Page 392
15 Key-in commands
Effect:
Source class above line.
Target class above line.
Tolerance above line.
Source class close to line.
Target class close to line.
Source class below line.
Target class to classify to below line.
Tolerance below line.
Classify Fence
Classify Fence key-in command classifies points inside fence and then starts the Place Fence tool
so that you can immediately place the next fence.
Syntax is:
Classify Fence [From] To
where From is optional point class number to classify from and To is point class to classify to. If
only one parameter is given, points in any class are classified to the given class.
Effect:
Source class from which to classify. Use from=999 or from=any for any
class.
Target class to classify to.
Distance by which to expand shapes. Positive values expand and negative
values shrink the shapes.
Page 393
15 Key-in commands
Classify View
Classify View key-in command classifies points which are visible inside a view. You select the
view with a mouse click after starting the command.
Syntax is:
Classify View [From] To
where From is optional point class number to classify from and To is point class to classify to. If
only one parameter is given, points in any class are classified to the given class.
Effect:
Source class from which to classify. Use from=999 or from=any to use any
visible points.
Target class to classify to.
Brush radius as pixels on screen.
Move Backward
Move Backward key-in command moves a section view backward by full view depth. The key-in
command must include a view number (1-8).
Syntax is:
Move Backward ViewNumber
Move Forward
Move Forward key-in command moves a section view forward by full view depth. The key-in
command must include a view number (1-8).
Syntax is:
Move Forward ViewNumber
Page 394
15 Key-in commands
Scan Display
Scan Display key-in command changes view display mode for laser points. The new display settings are given as parameters following the key-in command. Parameters are separated from each
other with / character, for example:
Scan Display off=all/on=2/color=class
Possible parameters are:
Parameter:
view=n
on=n
off=n
color=n
weight=n
lineon=n
lineoff=n
sparse=n
depth=
Effect:
View to apply to where n is view number 1-8. If this parameter is given, it
must be the first one and causes an immediate change to the specified view.
If not given, the application will wait for the user to select a view.
Classes to switch on. For example: on=2 or on=1,5-8 or on=all.
Classes to switch off. For example: off=7 or off=3-11 or off=all.
Coloring mode where n is class, echo, elevation, line, intensity, distance,
color, lineint, echolen, scanner, dimension, group, shading or slope. For
example: color=class.
Weight mode where n is weight value 0-7 or -1 for class based weight. For
example: weight=1 or weight=-1.
Flightlines to switch on. For example: lineon=1-3 or lineon=all.
Flightlines to switch off. For example: lineoff=1-3 or lineoff=all.
Sparse display mode. For example: sparse=on or sparse=off.
Depth display mode. For example: depth=on or depth=off.
Page 395
15 Key-in commands
Fix Elevation
Fix Elevation key-in command changes the elevations of laser points inside given polygons. Each
laser point inside one polygon is fixed to the same elevation value.
Parameters are separated from each other with / character, for example:
Fix Elevation class=2,8/percentile=5/level=10/color=7
Possible parameters are:
Parameter:
class=n
polygon=n
percentile=n
elevation=n
level=n
color=n
weight=n
style=n
Effect:
Classes to use and modify. For example: class=2,5-8 or class=all.
Type of polygons where n is fence, selected or level.
If given, computes elevation from the points inside the polygon and n
specifies the percentile (0=minimum, 50=median, 100=maximum).
If given, uses a fixed elevation n. For example: elevation=0.0.
Design file level to search for polygons. If given, forces polygon=level.
If given, filters polygons by color in addition to level.
If given, filters polygons by line weight in addition to level.
If given, filters polygons by line style in addition to level.
Open Block
Open Block key-in command opens a project block for viewing or modification.
Syntax is:
Open Block [BlockFile [options]]
BlockFile may specify block file name or block number.
Options can be:
Option:
neighbours=n
fit=n
lock=n
Effect:
Distance to load points from neighbouring blocks.
View(s) to fit where n is between -1 and 8 (-1=all, 0=none, 1-8=view).
If n is 0, opens block for viewing only.
If n is not zero, opens block for modification.
Page 396
15 Key-in commands
Page 397
16 Classification Routines
16
Classification Routines
The Routine menu in the TerraScan Main window offers a number of classification tools. Additionally, there are some routines which can be used in macros only. This chapter describes the basic logic used in various classification routines.
By class
By class routine simply changes all points in a given class to another class.
Setting:
From class
To class
Inside fence only
Effect:
Source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are classified.
Page 398
16 Classification Routines
Air points
Not Lite
Air points routine classifies points which are clearly higher than the median elevation of surrounding points. It can be used to classify noise up in the air.
For each point, this routine will find all the neighboring points within a given search radius. It will
compute the median elevation of the points and the standard deviation of the elevations. A point
will be classified if it is more than Limit times standard deviation above the median elevation.
Comparison using standard deviation results in the routine being less likely to classify points in
places where there is more elevation variation.
Setting:
From classes
Require
Limit
Effect:
Source class(es) from which to classify points. Select
several classes by pressing the Ctrl-key while selecting
classes from the list.
If on, points inside a fence or selected polygon are classified.
Target class to classify points into.
2D search radius around a point. For points within this
radius the median elevation and standard deviation are
computed. Normally 2.0 - 10.0 m.
Minimum amount of points required within the radius.
Routine will not classify a point if it does not find enough
points within the xy search radius.
Factor for multiplication with standard deviation of
elevation values of points within the search radius.
Page 399
16 Classification Routines
Closeby points
Not Lite
Page 400
16 Classification Routines
Isolated points
Not Lite
Isolated points routine classifies points which do not have very many neighbor points within a
3D search radius. This routine is useful for finding isolated points up in the air or below the
ground.
Setting:
From class
To class
If fewer than
Within
Inside fence only
Effect:
Source class(es) from which to classify points. Click the >>
button to select multiple source classes.
Target class to classify points into.
A point is classified if there are less than the given number
of neighbouring points within a 3D search radius. Normally
1 - 5.
3D search radius. Normally 2.0 - 10.0 m.
If on, points inside a fence or selected polygon are classified.
Page 401
16 Classification Routines
Low points
Not Lite
Low points routine classifies points which are lower than other points in the vicinity. It is often
used to search for possible error points which are clearly below the ground.
This routine will basically compare the elevation of each point (=center) with every other point
within a given xy distance. If the center point is clearly lower than any other point, it will be classified.
Sometimes you may have a higher density of error points. If there are several error points close to
each other, those will not be detected if searching for single low points. However, this routine can
also search for groups of low points where the whole group is lower than other points in the vicinity.
The routine finds the lowest point or group of points in a data set when it runs once. If there are
low points on several elevation levels, this routine should be executed several times with different
settings.
Setting:
From class
To class
Search
Max count
Inside fence only
More than
Within
Effect:
Source class from which to classify points.
Target class to classify points into.
Whether to search for groups or single points.
Maximum size of a group of low points.
If on, points inside a fence or selected polygon are classified.
Minimum height difference. This is normally 0.3 - 1.0 m.
Xy search range. Each point is compared with every other
point less than Within distance away. Normally 2.0 - 8.0 m.
Page 402
16 Classification Routines
Ground
Not Lite
Ground routine classifies ground points by iteratively building a triangulated surface model.
The routine starts by selecting some local low points that are confident hits on the ground. You
control initial point selection with the Max building size parameter. If maximum building size is
60.0 m, the application assumes that any 60 by 60 m area will have at least one hit on the ground
(provided there are points around different parts of the area) and that the lowest point is a ground
hit.
The routine builds an initial model from the selected low points. Triangles in this initial model are
mostly below the ground with only the vertices touching ground. The routine then starts molding
the model upwards by iteratively adding new laser points to it. Each added point makes the model
following the ground surface more closely.
Iteration parameters determine how close a point must be to a triangle plane for being accepted as
ground point and added to the model. Iteration angle is the maximum angle between a point, its
projection on triangle plane and the closest triangle vertex. Iteration distance parameter makes
sure that the iteration does not make big jumps upwards when triangles are large. This helps to
keep low buildings out of the model.
The smaller the Iteration angle, the less eager the routine is to follow changes in the point cloud
(small undulations in terrain or hits on low vegetation). Use a small angle (close to 4.0) in flat terrain and a bigger angle (close to 10.0) in hilly terrain.
Page 403
16 Classification Routines
Setting:
From class
To class
Inside fence only
Effect:
Source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Select
Selection of initial ground points. If starting a new ground
classification, use Aerial low + Ground points. Use
Current ground points when you want to continue
iteration in a fenced, previously classified area.
Max building size
Edge length of largest buildings.
Terrain angle
Steepest allowed slope in ground terrain.
Iteration angle
Maximum angle between point, its projection on triangle
plane and closest triangle vertex. Normally between 4.0
and 10.0 degrees.
Iteration distance
Maximum distance from point to triangle plane during
iteration. Normally between 0.5 and 1.5 m.
Reduce iteration angle when If on, reduce eagerness to add new points to ground inside
a triangle when every edge of triangle is shorter than Edge
length. Helps to avoid adding unnecessary point density
to the ground model and reduces memory requirement.
Stop triangulation when
If on, quit processing a triangle when every edge in
triangle is shorter than Edge length. Helps to avoid
adding unnecessary point density to the ground model and
reduces memory requirement.
Page 404
16 Classification Routines
2.
Within
From class
To class
Reprocess
Single flightline
3.
Effect:
Defines which point is selected as initial point for the
ground classification:
Closest - the point closest to the mouse click.
Highest - the highest point within the search radius.
Lowest - the lowest point within the search radius.
Search radius around the mouse click to find the initial
point.
Source class from which points are classified into ground.
Target class to add points to.
Area within which points are classified.
If on, only points from one flightline at a time are
classified.
(Optional) Click Settings to change settings for the ground processing parameters.
This opens the Ground processing settings dialog:
The settings are the same as for the automatic ground classification. See Ground
classification routine for more information.
4.
Click inside a view to define the initial location for adding ground points.
This classifies visible points from the source class to the ground class according to the given
parameters and within the defined reprocessing area.
Page 405
16 Classification Routines
Hard surface
Not Lite
Page 406
16 Classification Routines
Below surface
Not Lite
Below surface routine classifies points which are lower than neighboring points in the source
class. This routine can be run after ground classification to locate points which are below the true
ground surface.
The algorithm for this routine can be outlined as follows:
For each point (=central point) in the source class, find up to 25 closest neighboring source
points.
Fit a plane equation to the neighboring points.
If the central point is above the plane or less than Z tolerance below, it will not be classified.
Compute standard deviation of the elevation differences from the neighboring points to the
fitted plane.
If the central point is more than Limit times standard deviation below the plane, classify it
into the target class.
Setting:
From class
To class
Inside fence only
Limit
Z tolerance
Effect:
Source class from which to classify points. Normally Ground.
Target class to classify points into.
If on, points inside a fence or selected polygon are classified.
Factor for multiplication with standard deviation of the elevation
differences of neighbouring source points. A point has to be more
than Limit * std.-dev. below the fitting plane to be classified.
Minimum elevation difference a point has to be below surface to
be classified.
Page 407
16 Classification Routines
By height from ground routine classifies points which are within a given height range compared
to the ground points surface model. The routine requires that you have already classified ground
points successfully.
This routine will build a temporary triangulated surface model from ground points and compare
other points against the elevation of the triangulated model.
You might use this routine to classify points into different vegetation classes for preparing building classification, powerline processing or tree detection. As a result, the highest vegetation class
should include all hits on the target objects of interest (building roofs, wires and towers, or trees).
Setting:
Ground class
Max triangle
From class
To class
Inside fence only
Min height
Max height
Effect:
Point class into which ground points have been classified
before.
Maximum length of a triangle edge in the temporary
calculated surface model.
Source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Start of height range above ground surface.
End of height range above ground surface.
Page 408
16 Classification Routines
By absolute elevation
Not Lite
By absolute elevation routine classifies points which are within a given elevation range. This can
be used to classify error points high up in the air or clearly below the ground.
Setting:
From class
To class
Elevation
Inside fence only
Effect:
Source class from which to classify points.
Target class to classify points into.
Absolute elevation range within which points are
classified.
If on, points inside a fence or selected polygon are
classified.
Page 409
16 Classification Routines
By echo
Not Lite
Setting:
From class
From echo
To class
Inside fence only
Effect:
Source class from which to classify points.
Echo type from which to classify points:
Only echo - only echo from a pulse.
First of many - first echo from a pulse which produced
at least two echoes.
Intermediate - intermediate echo from a pulse which
produced at least three echoes.
Last of many - last echo from a pulse which produced
at least two echoes.
Any first - combination of Only echo and First of many
Any last - combination of Only echo and Last of many
First ... Seventh - points with a specific echo number.
This requires LAS file format.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Page 410
16 Classification Routines
By echo difference
Not Lite
By echo difference routine classifies points based on elevation difference between first and last
echoes. The classification affects only points with the echo types first of many or last of many.
Setting:
Classify
From class
To class
If first >
Effect:
Echo type from which to classify points: First echoes or
Last echos.
Source class from which to classify points.
Target class to classify points into.
Elevation difference between first and last echos. A point
is classified, if the difference is larger than the given
value.
If on, points inside a fence or selected polygon are
classified.
Page 411
16 Classification Routines
By echo length
Not Lite
Page 412
16 Classification Routines
By intensity
Not Lite
By intensity routine classifies points which have an intensity value (strength of return) within a
given range. The intensity value is affected by the type of surface material hit by the laser beam.
This can be used to classify points which are possible hits on railroad rails or on road paint markings because the metal surface or the white paintings produce high intensity returns while the surroundings like dark gravel or asphalt often result in low intensity returns.
Setting:
From class
To class
Classify
Intensity
Inside fence only
Effect:
Source class from which to classify points.
Target class to classify points into.
Determines which points are classified:
Point itself - points with an intensity value in the given
range are classified.
Later echos - last and intermediate echo points are
classified if the intensity value of the first echo point of
the same pulse is within the given range. First and only
echo points are not affected with this setting.
Range of absolute intensity values within which points are
classified.
If on, points inside a fence or selected polygon are
classified.
Page 413
16 Classification Routines
By color
Not Lite
By color routine classifies points based on the color value stored for each point. Classification by
color can help in solving classification tasks which would be very difficult relying on xyz positions only.
The routine will classify points in the source class whose color falls into a specified HSV color
range. HSV color model consists of three parameters:
Hue - pure color. This can be red, yellow, green, cyan, blue or magenta.
Saturation - purity of the color or how much grey is mixed in.
Value - brightness of the color.
The classification routine can use color values stored with the laser points. These color values
have to be derived beforehand from images using Extract color from images command. Source
images can be raster references attached to TerraPhoto or raw images stored in a TerraPhoto image
list. The colors are stored as RGB values for each laser point but corresponding HSV values can
be displayed in the TerraScan Main window point list.
After the extraction of colors, you may check the distribution of color values for the objects that
you want to classify by color. This can be done using the Identify button in TerraScan Main window. In the Main window, the attribute Point color HSV should be switched on for display. Select different laser points to check the HSV color values. You can also run classification by color
multiple times and test different parameter settings.
Setting:
From class
To class
Inside fence only
Hue
Saturation
Value
"
Effect:
Source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are classified.
Hue value and tolerance.
Minimum and maximum value for saturation component.
Minimum and maximum value for value component.
You can effectively classify by grey scale if you set Hue tolerance to +- 180. All hue values will
then fall within the range.
Page 414
16 Classification Routines
By centerline
Not Lite
By centerline routine classifies points based on how close they are to a linear element. You can
use it to classify points which are close to or far away from a linear element.
You must select the centerline element(s) before starting the tool. Centerline elements can be MicroStation lines, line strings, arcs, shapes, or complex elements consisting these element types.
If multiple elements are selected, each laser point will be classified according to the offset distance
to either the closest linear element or to any of the selected linear elements.
Setting:
From class
To class
Compare with
Side
Offset
By elevation difference
By longitudinal distance
from vertex
Effect:
Source class(es) from which to classify points. Select
multiple classes by clicking the >> button.
Target class to classify points into.
Method of assigning points to linear elements:
Any line - points are classified if they are within the
offset distance of any linear element.
Closest line - points are classified if they are within the
offset distance of the closest linear element.
Side on which to classify points: On left side, On either
side or On right side. Direction is relative to the
digitization direction of the linear element.
Minimum and maximum side offset. Points within the
offset range are classified.
If on, classifies only point which are within a given
elevation distance range from the linear element.
If on, classifies only points which are within a given
longitudinal distance range from the closest element
vertex.
Page 415
16 Classification Routines
By section template
Not Lite
By section template routine classifies points based on the shape of a tunnel defined by a three
dimensional alignment and a tunnel section template.
This classification routine is primarily used with laser data from terrestrial scanners.
Setting:
From class
To class
Section
Classify
Tolerance
Effect:
Source class from which to classify points.
Target class to classify points into.
Tunnel section type defined in user settings.
Type of points to classify:
Inside section - points inside the section.
Outside section - points outside the section.
On section - points close to the section shape.
Defines how close to the section shape a point has to be in
order to be classified. This is only active if Classify is set
to On section.
Page 416
16 Classification Routines
By time stamp
Not Lite
By time stamp routine classifies points within a specified time range. This requires time stamps
stored for each laser point.
Setting:
From class
To class
Inside fence only
Time range
Effect:
Source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Range of time stamps within which points are classified.
The numbers below show the minimum and maximum
time stamp of the data set.
Page 417
16 Classification Routines
By angle
Not Lite
By angle routine classifies points according to the scan angle or the angle from vertical.
Scan angles range from -128 and +127 degree and are stored in LAS files. If TerraScan binary
files are used, a scan angle is computed from the trajectories. Angles from vertical range from 0
to 90 degree.
Classify by angle may be useful to classify points in a small corridor, e.g. between -20 and +20
degree or to remove edges in the data set from further processing.
Setting:
From class
To class
Use
Angle
Inside fence only
Effect:
Source class(es) from which to classify points.
Target class to classify points into.
Type of angle used for classification: Scan angle or Angle
from vertical.
Range of angle values within which points are classified.
If on, points inside a fence or selected polygon are
classified.
Page 418
16 Classification Routines
By scan direction
Not Lite
By scan direction routine classifies points in negative or positive scan direction, or edge points.
This requires laser data in LAS file format. Classification is based on the bit fields present in LAS
files.
Setting:
From class
To class
Direction
Inside fence only
Effect:
Source class from which to classify points.
Target class to classify points into.
Scan direction from which to classify points: Negative,
Positive or Edge points.
If on, points inside a fence or selected polygon are
classified.
Page 419
16 Classification Routines
By normal vector
Not Lite
Page 420
16 Classification Routines
By range
Not Lite
By range routine classifies points based on the measurement distance which is the distance of a
point from the scanner. This classification routine is primarily used with laser data from mobile
scanners.
Classify by range is useful to exclude points from the data set that are located far away from the
scanner and thus not suited for matching tasks. It should be used before processes for drive path
matching are started.
Setting:
From class
To class
Range
Inside fence only
Effect:
Source class(es) from which to classify points. Click the
>> button to select multiple source classes.
Target class to classify points into.
Measurement distance range within which points are
classified.
If on, points inside a fence or selected polygon are
classified.
Page 421
16 Classification Routines
By scanner
Not Lite
By scanner routine classifies points according to the scanner number of the scanner which recorded a point. This classification routine is primarily used with laser data from mobile scanners and
requires laser data in LAS file format.
Classify by scanner is required for the calibration of a mobile scanner system using more than one
scanner. The classification separates points recorded by different scanners into different classes
which enables the correction of misalignment between the scanners.
Setting:
From class
Scanner
To class
Effect:
Source class(es) from which to classify points. Click the
>> button to select multiple source classes.
Scanner number of the scanner from which to classify
points.
Target class to classify points into.
Page 422
16 Classification Routines
Railroad
Not Lite
Railroad routine classifies points which match the elevation pattern of a railroad rail.
For a point to match elevation pattern, it:
must have some points in the vicinity which are 0.05 - 0.35 m lower.
can not have any points in the vicinity which would be 0.15 - 2.50 m higher.
can not have any points in the vicinity which would be more than 0.35 m lower.
Railroad classification can use an alignment element in three different ways:
None - No alignment element. Find all points which match the elevation pattern and have
another matching point at Rail width Tolerance distance in any direction.
Track centerline - Alignment element follows the centerline between two rails. Find all
points which match the elevation pattern and are at (0.5 * Rail width) Tolerance offset
from centerline.
General direction - Alignment element defines the general direction of the railroad. Find all
points which match the elevation pattern and have another matching point at Rail width
Tolerance distance. The line between the two points must be close to perpendicular with
alignment direction.
Alignment elements can be created using the Place Railroad String tool in TerraScan or any other
line placement tool from MicroStation. The alignment element(s) must be selected before starting
the classification tool.
Setting:
From class
Or class
To class
Inside fence only
Alignment
Tolerance
Rail width
Effect:
Source class from which to classify points.
Second source class from which to classify points.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Centerline usage: None, Track centerline or General
direction.
Vertical distance about which the rail width can differ.
Distance from rail center to rail center.
Page 423
16 Classification Routines
Buildings
Not Lite
Buildings routine classifies points on building roofs which form some kind of a planar surface.
This routine requires that you have classified ground points before. It is also advisable to classify
low vegetation so that only points more than two meters above the ground will be considered as
possible building points.
Setting:
Ground class
From class
To class
Inside fence only
Minimum size
Z tolerance
Use echo information
Effect:
Class into which ground points have been classified
before.
Source class from which to search building points.
Target class to classify points into.
If on, points inside a fence or selected polygon are
classified.
Smallest building footprint size in square meters.
Approximate elevation accuracy of laser points.
If on, echo information of laser points is considered for the
process. This can support the classification because points
on roofs mostly belong to the echo type only echo where
as trees have a lot of first of many and intermediate
echoes.
Page 424
16 Classification Routines
Model keypoints
Not lite
Model keypoints routine classifies laser points which are needed to create a triangulated surface
model of a given accuracy. This routine is normally used to create a thinned data set from points
classified as ground hits.
You control the accuracy with elevation tolerance settings Above model and Below model. These
settings determine the maximum allowed elevation differences from a ground laser point to a triangulated model. Above model determines how high laser points can be above the model. Below
model determines how low laser points can be below the model.
The application will try to find a relatively small set of points (= keypoints) which would create a
triangulated model of the given accuracy. These keypoints will be classified into another class. All
remaining ground points are within the given elevation tolerances from a model that the keypoints
would produce when triangulated. Some of the ground points are above the model, some ground
points are below.
This classification is an iterative process similar to ground classification. The process starts by
searching for initial points inside rectangular regions of a given size. The lowest and the highest
source point inside each rectangle is classified as keypoint and those are used to create an initial
triangulated model. During each iteration loop the routine searches for source points which are
more than the given tolerance above or below the current model. If such points are found, the highest or lowest points are classified and added to the model.
The Use points every setting provides a method for ensuring a minimum point density in the final
model even in flat places. For example, if you want to have at least a point every 10 meters, you
should set the Use points every setting to 10.0.
Setting:
From class
To class
Inside fence only
Use points every
Tolerance above
Tolerance below
Effect:
Source class(es) from which to search keypoints. Click the
>> button to select multiple source classes.
Target class to classify keypoints into.
If on, points inside a fence or selected polygon are
classified.
Rectangle size for searching initial points. The highest and
the lowest point inside each rectangle will be classified.
Maximum allowed elevation difference from the
triangulated model to a source point above the model.
Maximum allowed elevation difference from the
triangulated model to a source point below the model.
Page 425
16 Classification Routines
Contour keypoints
Contour keypoints routine classifies model keypoints tailored for the production of contours. It
works similar to the Model keypoints routine but produces a ground model which is suited to create smooth, cartographic contours for map production.
When contours are derived from original laser data, they are very accurate, detailed and mathematically correct but less suited for being used for representation purposes. Since the small details
in contour lines are caused by laser points close to the contour elevation, those points are removed
from the model formed by contour keypoints.
The user controls the volumetric difference to the true ground model by setting a Limit value for
contour keypoints classification. The value determines how much the contours derived from the
model will be smoothed. So higher the limit value, the smoother, nicer but less accurate the contours will be compared with the true ground model.
In addition to contours, the classification routine also considers peaks and pits in the elevation
model. The values for Peak area and Pit area are used to define the minimum area that is enclosed by a contour line on top of hills or in depressions.
Setting:
From class
Effect:
Source class(es) from which to search keypoints. Click the
>> button to select multiple source classes.
To class
Target class to classify keypoints into.
Inside fence only
If on, points inside a fence or selected polygon are
classified.
Contour interval
Interval of contours.
Use points every
Rectangle size for searching initial keypoints. The highest
and the lowest point inside each rectangle will be
classified
Limit
Determines the smoothness of the contours.
Keep relevant peaks and pits If on, areas on top of hills and in depressions are
considered in the model.
Peak area
Minimum size of a peak area enclosed by a contour line.
Pit area
Minimum size of a pit area enclosed by a contour line.
Page 426
16 Classification Routines
Inside shapes
Not lite
Inside shapes routine classifies points that are located inside a shape on a specified level in the
active design file or in a reference design file. Optionally, the shape can be further defined by color, weight or style settings. The shapes have to be drawn before the routine can be used.
The routine works similar to Inside fence command in TerraScan Main window but it is only
available as a macro step. Therefore the command is not in the Routine list of the Classify pulldown menu. See Macros on page 429 for more information about macro creation and macro actions.
Setting:
From class
To class
Shapes from
Expand by
Level
By color
By weight
By style
Effect:
Source class(es) from which to search building points.
Click the >> button to select multiple source classes.
Target class to classify points into.
Source for shapes:
Active or reference files - shapes are defined in the
active design file or in an attached reference file.
Active design file - shapes are defined in the active
design file.
Reference file - shapes are defined in an attached
reference file.
Distance for expanding the shapes.
Design file level on which the shapes are placed.
If on, only shapes with the given color are used.
If on, only shapes with the given line weight are used.
If on, only shapes with the given line style are used.
Page 427
16 Classification Routines
Wire danger points routine classifies laser points which are within a given three dimensional distance limit from vectorized catenaries. This routine is related to powerline processing which is explained in detail in chapter Coordinate Transformations on page 312. It requires the
vectorization of wires before the routine can be used.
There are three different methods how danger points can be defined:
Vertical distance to wire - danger points are searched within a 3D radius around each wire
and within a vertical distance from the wire.
3D distance to wire - danger points are searched within a 3D radius around each wire.
Falling tree logic - each vegetation point is considered as a falling tree and classified if the
point is travels too close to the wire when falling down as a tree. The falling tree computation
treats each vegetation point as a tip of a tree with the trunk at the xy location of that vegetation
point.
The routine works similar as classification part of the Find Danger Objects tool in TerraScan
View Powerline tools. The routine is only available as a macro step, therefore the command is not
in the Routine list of the Classify pulldown menu. See Macros on page 429 for more information
about macro creation and macro actions.
Setting:
From class
To class
Wire levels
Find using
Within distance
Within offset
Ground class
Effect:
Source class(es) from which to search keypoints. Click the
>> button to select multiple source classes.
Target class to classify keypoints into.
Design file level(s) on which the vectorized wires are
placed. Separate different levels by comma.
Method of wire danger point definition: Vertical distance
to wire, 3D distance to wire or Falling tree logic.
3D radius around a wire used as search distance for danger
points.
Vertical distance from a wire used in Vertical distance to
wire and Falling tree logic methods to search for danger
points.
Class into which laser points on ground are classified.
This is only active for Falling tree logic method.
Page 428
16 Classification Routines
Moving objects
Not lite
Setting:
From class
To class
Time difference
Search radius
Inside fence only
Effect:
Source class(es) from which to classify points.
Opens the Select classes dialog which contains the list of
active classes in TerraScan. You can select multiple
source classes from the list that are then used in the From
class field.
Target class of classified points.
Page 429
17 Macros
17
Macros
Macros provide a method to automate processing steps. The best level of automation is reached
when using macros together with a project definition. See chapter Coordinate Transformations
on page 312 for information about projects in TerraScan.
Macros consist of a number of processing steps which are executed one after the other. Processing
steps can classify points, modify points, delete points, transform points, output points, update
views, execute commands or call functions from other MDL applications.
Macros are stored as text files with the default extension *.mac.
Creating a macro
A macro can be created in TerraScan using the Macro command from Tools menu in the TerraScan Main window. The Macro dialog lets you add, modify, delete and arrange processing steps,
and offers the possibilities to save and run macros. Each line in the macro dialog represents one
processing step that is performed on the laser points when running a macro.
To create a macro:
1.
Choose Macro command from Tools pulldown menu in the Main window.
This opens the Macro dialog:
2.
3.
4.
5.
6.
Choose Save as from File pulldown menu to save the macro to a file.
Setting:
Description
Author
Process flightlines
separately
Step
Effect:
Free description of the macro.
Name of the author.
If on, the macro steps are performed for each flightline
separately.
By clicking this button, the macro is executed step-by-step
on loaded points.
Page 430
17 Macros
Setting:
Add
Edit
Delete
Move up
Move down
Effect:
Add a new processing step to the macro.
Modify settings for a selected processing step.
Delete a selected processing step.
Moves a selected processing step one line up in the macro.
Moves a selected processing step one line down in the
macro.
To:
Start to create a new macro
Open an existing macro file
Save changes to an existing macro file
Save a macro into a new file
Run a macro on loaded points
Run a macro on selected files
Page 431
17 Macros
Macro actions
When the Add button in the Macro dialog is pressed, the Macro step dialog opens:
The Action field includes a list of all possible macro actions. Depending to the chosen action, another dialog opens to define the settings for a specific processing step.
Classify points action requires the selection of a classification routine in the Routine field. The
routines are basically the same as in the Routine sub-menu in TerraScan Main window which can
be performed on loaded points. However, a few classification routines can be executed in macros
only.
Actions that are executable in a macro are listed in the following table. For most of the actions,
there is a corresponding tool or menu command for processing loaded points in TerraScan.
To:
Apply a classification routine
Call an Addon routine
Adjust misalignment angles
Apply TerraMatch corrections
to laser data
Assign a color to laser points
Assign groups to laser points
Create an elevation model in
TerraModeler
Add a comment to a macro
Compute normal vectors for
laser points
Compute parameters of road
cross sections
Compute slopes on road
surfaces
Convert time stamps of laser
data
Cut points from overlapping
flightlines
Assign line number from
trajectories to laser points
Delete points of a class
Delete points of a flightline
Call a function from another
MDL application
Call a TerraScan function
Export a lattice model
Detect paint markings from
laser data
Fix the elevation of laser points
Run a keyin command in
MicroStation
Choose action:
Classify points
Addon command
Adjust angles
Description:
Classification Routines
Addon
Adjust laser angles
Apply corrections
Apply corrections
Assign color
Assign groups
Create model
Comment
Compute normal
vectors
Compute section
parameters
Comment
Compute normal vectors
Compute section parameters
Cut overlap
Cut overlap
Delete by class
Delete by flightline
Evaluate expression
Evaluate expression
Execute command
Export lattice
Execute command
Export lattice model
Fix elevation
Fix elevation
Keyin command
Keyin command
Page 432
17 Macros
To:
Modify flightline numbers
Save points in new files
Save points by flightline
Save points in original file
Manipulate intensity values
Smooth the elevation of points
Sort points
Thin points to a lower density
Apply a transformation to the
laser points
Update a MicroStation view
Vectorize buildings
automatically
Create a section points data set
Write points into design file
Choose action:
Modify line numbering
Output points
Output by flightline
Save points
Scale intensity
Smoothen points
Sort points
Thin points
Description:
Modify numbering
Output points
Output by flightline
Save points
Scale intensity
Smoothen points
Sort
Thin points
Transform points
Update views
Fit view
Vectorize buildings
Vectorize buildings
Page 433
17 Macros
Apply corrections
Page 434
17 Macros
Comment
Page 435
17 Macros
Page 436
17 Macros
Page 437
17 Macros
Page 438
17 Macros
Page 439
17 Macros
Evaluate expression
Page 440
17 Macros
Execute command
Page 441
17 Macros
Page 442
17 Macros
Keyin command
Page 443
17 Macros
Output points
Output points macro step can be used to output selected points to a new file. A typical example
is a macro which:
classifies model keypoints
output model keypoints only
Such a macro can be run to extract model keypoints from all project blocks to a single file or to
individual files for each block.
The Output points macro step would have the following settings:
Setting:
Action
Effect:
Output points action.
Source points for output: All points which would include neighbour
Points
points or Active block.
Class
Point class to output.
Coordinate transformation to apply when computing output
Transform
coordinates for a point.
Inside fence only
If on, output points inside fence only.
Name of output file. If it does not include a directory, project data
To file
directory is used.
Add a variable to the output file name:
#bnumber - block number.
#block - block file name.
#bpath - block file path.
#bemin - block minimum easting.
Variable
#bnmin - block minimum northing.
#bemax - block maximum easting.
#bnmax - block maximum northing.
#pdir - project data directory.
#name - active file name. Use this to replace the file name
component when running a macro on selected files.
Format
Format of the output file.
Delimiter
Delimiter character when outputting to a text file format.
Xyz decimals
Number of decimal places when outputting to a text file format.
Set this on, if you want to output all input files to a single file.
Append if file exists Set this off, if every input file should generate an individual output file
and you have used a variable as part of the file name specification.
Page 444
17 Macros
Output by flightline
Output by flightline macro step can be used to divide points into output files by flightline number.
You would typically use this to generate final output for a customer who wants have each flightline in a separate file.
Setting:
Action
Effect:
Output by flightline action.
Number of flightline to output. A value of -1 outputs all flightlines and
Flightline
generates one output file for each flightline.
Class
Point class to output.
Coordinate transformation to apply when computing output
Transform
coordinates for a coordinate.
Name of output file. If Flightline is set to output all flightlines, the file
name should include the Variable #line which will be replaced by
To file
the number of each flightline. See other variables in Output points
section.
Format
Format of the output file.
Delimiter
Delimiter character when outputting to a text file format.
Xyz decimals
Number of decimal places when outputting to a text file format.
Set this on, if you want to output all blocks to a single file.
Append if file exists
Set this off, if every block should generate an individual file.
Page 445
17 Macros
Scale intensity
Page 446
17 Macros
Vectorize buildings
Building vectorization can be also performed on project level by using a macro that includes the
Vectorize Buildings command as macro step. The main difference in the process is that the building models are not drawn into the design file directly. Instead, a text file is created for each processed project block including the corner coordinates for all building model shapes. These text
files can be loaded into TerraScan after the vectorization process is finished.
3.
4.
5.
6.
7.
Load the building models into TerraScan using the Read / Building models command from
TerraScan Main window.
This reads the text files and draws the building models into the design file.
Page 447
17 Macros
Page 448
17 Macros
Run macros
Run a macro on loaded points
You can execute the active macro on the currently loaded points simply by choosing On loaded
points command from Run pulldown menu in the Macro dialog.
You can also execute a macro by entering a key-in command such as:
scan run macro modelkey.mac
which would read modelkey.mac macro from the directory specified by TSCAN_MACRODIR
environment variable in Configuration Variables and execute that.
A macro can be executed step-by-step on loaded points using the Step button in the Macro dialog.
This is useful to test the effect of the separate processing steps when creating a macro.
After a macro has been executed on loaded points, a report appears that lists all macro steps and
a return value. The return value can be the amount of points that has been affected by the processing step or another value specifying the result of the processing step. If a processing step could not
be executed, the line in the report appears in red color. A definition of the return values for each
processing function is given in Function Prototypes on page 460.
The macro report can be saved as text file using the Save as command from File menu or printed
using the Print command from File menu in the Macro execution dialog. The size of the dialog
can be changed using commands from the View menu.
Page 449
17 Macros
Choose On selected files command from Run pulldown menu in the Macro dialog.
This opens the Run macro on files dialog:
3.
4.
Enter additional settings in the Run macro on files dialog and click OK to start the batch
processing.
The application starts processing input files one at a time. Your settings determine how the
macro results are written out.
Setting:
Add
Remove
Fit view
Update all views after
loading
Input format
WGS84
Effect:
Add files for processing.
Remove files from the list of files for processing.
Views to fit after loading each file.
If on, updates all views after loading a file.
Definition of the input file format. Binary formats that are
supported by TerraScan are usually recognized
automatically.
Definition of a projection system into which the points are
transformed from WGS84 projections system. The
projections system has to be enabled in TerraScan
settings,
Page 450
17 Macros
Setting:
Transform
Save As
Directory
File name
Extension
Effect:
Definition of a transformation that is applied to the files.
The transformation has to be defined in TerraScan
settings.
Format of the output file into which all of the points will
be written. Select Do not save all points option if you
have included a more selective output action as one step in
the macro.
If on, you can specify the output directory into which each
file will be saved.
If on, you can specify the output file name under which
each input file will be saved. You may include the
Variable#name as part of the file name. This will be
replaced by the file name component of the active file. See
more information about Variables is file names in Output
points section.
If on, you can specify the output file extension.
After a macro has been executed on selected files, a report appears that lists all files and for each
file the amount of loaded points, the executed macro steps and a return value as well as the amount
of saved points. The return value can be the amount of points that has been affected by the processing step or another value specifying the result of the processing step. If a processing step could
not be executed, the line in the report appears in red color. A definition of the return values for
each processing function is given in Function Prototypes on page 460.
The macro report can be saved as text file using the Save as command from File menu or printed
using the Print command from File menu in the Macro execution dialog. The size of the dialog
can be changed using commands from the View menu.
Page 451
17 Macros
(Optional) Select the desired block files in the Project windows file list if you want to
execute the macro on selected blocks only.
Choose Run macro command from Tools pulldown menu in TerraScan Project window.
This opens the Run macro on blocks dialog:
3.
Save points
Effect:
Blocks to process: All blocks or Selected blocks.
Macro file to execute.
Width of overlap region around the active block
boundaries for which the application will load points
from neighbouring blocks. See more information in
Neighbour points section.
Method of saving the block files after processing:
Do not save - block files are not saved. This should be
used if the macro includes an output step which writes
the results to a new output file.
Write over original - original block files are
overwritten directly by the processed files.
Temporary copy & replace original - a copy is created
for each processed block file. TerraScan will move
the temporary copies to replace the original block
files at the end of the process.
Create new copy - a new file is created for each
processed block file. Additionally, the project file is
copied to the same directory where the new files are
stored.
Page 452
17 Macros
Setting:
Temporary
Write to
Run using TerraSlave
Fit view
Update all views after loading
Effect:
Directory for storing the temporary copies of the block
files if Save points is set to Temporary copy & replace
original.
Directory for storing the new block files if Save points
is set to Create new copy.
If on, the macro is performed by TerraSlave.
Views to fit after loading each block.
If on, all views are updated after loading a block.
After a macro has been executed on a project, a report appears that lists all files and for each file
the amount of loaded points, the executed macro steps and a return value as well as the amount of
saved points. The return value can be the amount of points that has been affected by the processing
step or another value specifying the result of the processing step. If a processing step could not be
executed, the line in the report appears in red color. A definition of the return values for each processing function is given in Function Prototypes on page 460.
The macro report can be saved as text file using the Save as command from File menu or printed
using the Print command from File menu in the Macro execution dialog. The size of the dialog
can be changed using commands from the View menu.
Neighbour points
Neighbour points can be loaded additionally to the points of the active block to support classification steps. This should be used when performing processing steps that require neighboring
points to ensure smooth transitions on block boundaries. Those steps include:
ground classification
model keypoint and contour keypoint classification
building classification
export lattice
fix elevation
smoothen points
thin points
vectorize buildings
For classification steps it is recommended to set the width of the neighbour points region to the
same value as the maximum building size. Laser points from neighbour blocks do not belong to
the active block and are not saved with the active block points.
Page 453
17 Macros
Page 454
17 Macros
1.
2.
(Optional) Select the desired block files in the Project windows file list if you want to
execute the macro on selected blocks only.
Choose Run macro command from Tools pulldown menu in TerraScan Project window.
This opens the Run macro on blocks dialog:
3.
4.
5.
6.
7.
8.
Run using
Effect:
Defines the computer that is performing the task:
This computer only - TerraSlave on the same
computer will execute the macro.
Any available computer - TerraSlave on any available
computer from the network will execute the macro.
Select computers from list - TerraSlave on all
selected computers from the list will execute the
macro.
Enter computers names - TerraSlave on all computers
whose names are given will execute the macro.
Page 455
17 Macros
It is empty, if no task is running. If a macro is executed, it shows the status of the process including
the currently running macro, processed block and processing step.
A task can be stopped by clicking on the Abort button. This stops the processing of the current
block. An new button Activate appears in the window. Click this to reactivate the task. This restarts the macro execution with the next block.
The processing of a task can be monitored using the Monitor active task command from View
pulldown menu. This opens the Monitor active task window:
It shows a detailed list of the blocks to be processed, the executing computers name and the current processing status.
Stop task stops the task and sets the status of all remaining blocks to Removed. It also activates
the Clear task button which can be used to delete a task file completely.
If one or more blocks with status Removed are selected in the list, the Restart block button appears. This sets the status of the selected blocks to Pending. To restart a task for remaining blocks,
TerraSlave has to be restarted. After the restart, the task is processed for all blocks with the status
Pending.
Pending blocks can be removed from a running task by selecting the blocks and clicking the Remove blocks button. The task is processed on all other blocks.
"
If a task is stopped, the task file remains in the task folder in the TerraSlave installation directory.
Make sure to delete the task file from the directory to avoid the unwanted execution of old task
files when TerraSlave is restarted.
Page 456
17 Macros
Programming Interface
Page 457
18 DLL Interface
18
DLL Interface
TerraScan installation includes an example dynamic link library together with source code illustrating how tools can be added into TerraScan.
These addon tools may perform such tasks as classifying points, writing points to output files or
displaying statistical information. The names of the tools will appear in the Addon menu in the
TerraScans Main window. The tools are responsible for providing modal or mode-less dialogs
for the input of required user settings.
The example link library \terra\ma\tscanadd.dll has been built using Visual C++ 6.0 from source
codes included in \terra\addon directory. It provides one tool: the display of an intensity histogram.
You may modify the source code and build a dynamic link library to replace the one supplied during installation. The addon library must provide four predefined functions which TerraScan will
call at different stages of application execution. These functions are:
AddonFillCommands() is called at start-up so that the DLL will inform TerraScan about
available tools.
AddonLinkVariables() is called after start-up to provide the DLL with information about
some of TerraScans internal tables and variables.
AddonRunCommand() is called whenever user starts an addon command.
AddonEnd() function is called before the application is unloaded so that the DLL may release
any resources it has allocated.
See \terra\addon directory for example source code files.
The example source code uses C syntax and accesses WIN32 API to create the user interface
items.
Page 458
19 MDL Public Functions
19
Always
Yes
Yes
Yes
Yes
-
C Data Type
Point3d
double
unsigned int
unsigned int
int
RgbClr
unsigned short
unsigned short
short
unsigned short
unsigned char
unsigned char
unsigned char
char
unsigned char
unsigned char
unsigned char
Size
12 bytes
8 bytes
4 bytes
4 bytes
4 bytes
3 bytes
2 bytes
2 bytes
2 bytes
2 bytes
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
Calling application must not assume that all of the attributes are present in the memory. Only attributes marked Always are always allocated when reading points into memory.
All attribute tables hold the same number of items.
Another application can retrieve pointer to laser point attributes by calling FnScanGetPnt(), FnScanGetCls() or other FnScanGetXxxx() routines. You should call these every time user starts a
new operation in your application as the pointer may become invalid if user has modified laser
points using TerraScan tools (deleted points, loaded new points in or closed TerraScans Main
window).
Page 459
19 MDL Public Functions
Calling Method
The functions can be called with mdlCExpression_ getValue(). The code example below illustrates the method:
void
Example( void)
{
int
Ret ;
if (TsCall( &Ret, "FnScanGetTable(0)") > 0)
mdlOutput_printf( MSG_PROMPT, %d points loaded into TerraScan, Ret) ;
}
/*------------------------------------------------------------------Call a function in TerraScan.
Set *Ret to be the return value.
Return 1 if successful.
Return 0 if could not load TSCAN.
Return -1 if failed.
*/
int
{
Val ;
Res ;
Ok ;
if (!LoadApp( TSCAN))
return (0) ;
Ok = mdlCExpression_getValue( &Val, &Res, Expr, VISIBILITY_CALCULATOR);
if (Ok != SUCCESS)
return (-1) ;
if (Ret)
*Ret = (int) Val.val.valLong ;
return (1) ;
}
/*------------------------------------------------------------------Load MDL application with Name (such as TSCAN).
Return 1 if successful.
Return 0 if application not found.
*/
int
{
*Ptr ;
Ok ;
return (1) ;
Page 460
19 MDL Public Functions
Function Prototypes
/*------------------------------------------------------------------Classify points from one class to another.
FromClass
ToClass
Fence
/*------------------------------------------------------------------Classify local minimum points which are more than Dz lower than
any other source point within XyDst distance.
FromClass
ToClass
GrpCnt
Dz
XyDst
Fence
Return
Return
Return
Return
*/
int
*/
int
Page 461
19 MDL Public Functions
*/
int
FnScanClassifyIsolated( char *ClsLst, int ToClass, int Lim, double Dst, int Fence);
*/
int
Page 462
19 MDL Public Functions
*/
int
FnScanClassifyBelow( int FromClass, int ToClass, double Lim, double TolZ, int Fence);
*/
int
*/
int
Page 463
19 MDL Public Functions
*/
int
*/
int
FnScanClassifyColor( int FromClass, int ToClass, int Source, double Foot, int Hue,
int Tol, int SatMin, int SatMax, int ValMin, int ValMax,
int Fence) ;
Page 464
19 MDL Public Functions
*/
int
FnScanClassifyTime( int FromClass, int ToClass, double Beg, double End, int Fence) ;
*/
int
*/
int
Page 465
19 MDL Public Functions
*/
int
Page 466
19 MDL Public Functions
*/
int
ground class
source class (high vegetation)
destination class
minimum area of building (m2)
plane tolerance (m)
use echo information?
0=all points, 1=inside fence
FnScanClassifyShapes( char *ClsLst, int ToClass, int Lvl, int ByClr, int Clr,
int ByWgt, int Wgt, int BySty, int Sty, double Expand, int Dgn)
Page 467
19 MDL Public Functions
*/
int
FnScanUpdateViews( void) ;
Page 468
19 MDL Public Functions
Return
Return
*/
int
ClsLst
Fmt
Delim
Trans
Append
Fence
*/
int
FnScanOutput( char *File, char *ClsLst, int Fmt, int Delim, char *Trans,
int Append, int Fence) ;
Page 469
19 MDL Public Functions
Line
Class
Fmt
Delim
Trans
Append
FnScanOutputLine( char *File, int Line, int Class, int Fmt, int Delim,
char *Trans, int Append)
Page 470
19 MDL Public Functions
Class
Elev
Step
Len
Fmt
UnitZ
CrdBlk
Out
FnScanExportLattice( char *File, int Class, int Elev, double Step, double Len,
int Fmt, int UnitZ, int CrdBlk, char *Out)
*/
int
FnScanRead( char *File, int First, int Last, int Line, int Inc,
char *Trans, int Fence, int Every)
Page 471
19 MDL Public Functions
FnScanSmoothen( char *ModLst, int UpCm, int DnCm, char *FixLst, int Fence) ;
FnScanThinPoints( int Class, int Keep, double Dxy, double Dz, int Fence) ;
FnScanCutOverlap( char *ClsLst, int Action, int Val, int Quality, double Gap,
int Offset, int Keep) ;
Page 472
19 MDL Public Functions
FnScanAdjustAngles( int Line, int Fix, int Input, double Head, double Roll,
double Pitch, double Div) ;
Page 473
19 MDL Public Functions
Page 474
19 MDL Public Functions
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
=================================================================
Get current coordinate setup. Routine stores coordinate system
origin in *Org.
int
;
P->x) ;
P->y) ;
P->z) ;
/*------------------------------------------------------------------Mark every point inside fence to have Mark=1 and every point
outside fence to have Mark=0.
Set *Fst and *Lst as the indexes of first and last point inside
fence.
Return 1 on success.
Return 0 if failed.
*/
int
Page 475
19 MDL Public Functions
success.
failed to read file.
we already have points in memory.
out of memory.
*/
int
*/
int
FnScanPreFree( void) ;
FnScanFreeTable( void) ;
Page 476
19 MDL Public Functions
FnScanFindClosest( Dp3d *Fp, int Class, Dp3d *Cp, double R, int Vw) ;
Page 477
20 File formats
20
File formats
TerraScan supports a large number of input file formats which have been hard coded into the program logic. Some of these built-in file formats are binary but most are text file formats. Whenever
you read files into the application, it will try to recognize the file format automatically.
File organization
TerraScan binary file consists of a file header of 48 bytes and a number of point records. The size
of the point record is 16 bytes for file version 20010712 and 20 bytes for file version 20020715.
Each point record may be followed by an optional four byte unsigned integer time stamp and an
optional four byte RGB color value.
For example, a file containing four laser points and their time stamps using format 20020715
would consist of:
Structure definitions
The structure of the file header is:
typedef
int
int
int
char
long
int
double
double
double
int
struct {
HdrSize ;
// sizeof(ScanHdr)
HdrVersion ; // Version 20020715, 20010712, 20010129 or 970404
RecogVal ;
// Always 970401
RecogStr[4]; // CXYZ
PntCnt ;
// Number of points stored
Units ;
// Units per meter = subpermast * uorpersub
OrgX ;
// Coordinate system origin
OrgY ;
OrgZ ;
Time ;
// 32 bit integer time stamps appended to points
Page 478
20 File formats
int
Color ;
} ScanHdr ;
//
//
//
//
//
//
//
//
//
//
//
//
//
Coordinates
Classification code
Echo information
Runtime flag (view visibility)
Runtime flag
Flightline number
Intensity value
Coordinate system
Laser point coordinates are stored as integer values which are relative to an origin point stored in
the header. To compute user coordinate values X, Y and Z (normally meters), use:
X = (Pnt.X - Hdr.OrgX) / (double) Hdr.Units ;
Y = (Pnt.Y - Hdr.OrgY) / (double) Hdr.Units ;
Z = (Pnt.Z - Hdr.OrgZ) / (double) Hdr.Units ;
Time stamps
Time stamps are assumed to be GPS week seconds. The storage format is a 32 bit unsigned integer
where each integer step is 0.0002 seconds.
Echo information
TerraScan uses two bits for storing echo information. The possible values are:
0Only echo
1First of many echo
2Intermediate echo
3Last of many echo
Type:
Text
Text
Text
Text
Text
Text
Text
Text
Content:
Easting Northing Elevation
Class Easting Northing Elevation
Easting Northing Elevation Intensity
Pulse_number Easting Northing Elevation Intensity
Class Easting Northing Elevation Intensity
East1 North1 Elev1 East2 North2 Elev2 Intensity1 Intensity2
Time East1 North1 Elev1 East2 North2 Elev2 Intensity1 Intensity2
Time Easting Northing Elevation Intensity
Page 479
20 File formats
Name:
XYZIXYZI
TXYZIXYZI
SCAN8
SCAN16
TOPEYE
EARTHDATA
LEICA
LAS
Type:
Text
Text
Binary
Binary
Binary
Binary
Binary
Binary
Content:
East1 North1 Elev1 Intensity1 East2 North2 Elev2 Intensity2
Time East1 North1 Elev1 Intensity1 East2 North2 Elev2 Intensity2
TerraScan binary with 8 bit flightlines (BIN).
TerraScan binary with 16 bit flightlines (BIN).
TopEye binary (DTE) with geocentric coordinates.
EarthData binary (EBN).
Leica-Helava binary (LDI).
Open binary format (LAS).
Page 480
20 File formats
struct {
Recog[8] ;
Version ;
HdrSize ;
PosCnt ;
PosSize ;
char
Desc[78] ;
BYTE
SysIdv ;
BYTE
Quality ;
double BegTime ;
double EndTime ;
int
OrigNbr ;
int
Number ;
char
VrtVideo[400] ;
double VrtBeg ;
double VrtEnd ;
char
FwdVideo[400] ;
double FwdBeg ;
double FwdEnd ;
char
WaveFile[400] ;
char
Group[16] ;
} TrajHdr ;
//
//
//
//
//
TSCANTRJ
File version 20010715
sizeof(TrajHdr)
Number of position records
Size of position records
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
Description
System identifier (for lever arms)
Quality for whole trajectory (1-5)
First time stamp
Last time stamp
Original number (before any splitting)
Flightline number (in laser points)
Vertical facing video
Start time of VrtVideo[]
End time of VrtVideo[]
Forward facing video
Start time of FwdVideo[]
End time of FwdVideo[]
Waveform data file
Group (session description)
//
//
//
//
//
//
//
//
//
//
//
and where heading, and roll/pitch quality values translate to degrees as:
QualityInDegrees = pow(QtyH,1.5) * 0.0001 deg
(1=0.00010, 2=0.00028, 3=0.00052, 4=0.00080, ... 255=0.4072 de
Page 481
20 File formats
Type:
Text
Text
Text
Text
Text
Binary
Binary
Content:
Time Northing Easting Elevation Roll Pitch Heading
Time Northing Easting Elevation Skip Skip Skip Quality Skip Skip
Time Northing Easting Elevation Quality Skip Skip Skip Skip
Time Time Easting Northing Elevation Heading Roll Pitch
Time Easting Northing Elevation
Proprietary file format of Applanix
Proprietary file format of Riegl.
Page 482
20 File formats
Additional Information
Page 483
21 Installation Directories
21
Installation Directories
TerraScan shares the same directory structure with all Terra Applications. It is recommended that
you install all Terra Applications in the same directory.
The list below shows a typical directory structure when TerraScan has been installed in path
C:\TERRA.
c:\terra
addon
config
tscan.cfg
docs
for documentation
tscan.pdf
license
tscan.lic
user license
ma
tscan.ma
tscan.dll
tscanadd.dll
application
addon library
tscan
tscan.ptc
library
Page 484
22 Configuration Variables
22
Configuration Variables
MicroStation is able to locate TerraScan with the help of configuration variables. When you install
TerraScan, the installation program will create a configuration file TERRA.CFG which defines
the required environment variables. This file is placed in MicroStation's CONFIG\APPL sub-directory.
For example, C:\USTATION\CONFIG\APPL\TERRA.CFG may contain:
#------------------------------------------------------#
# TERRA.CFG - Configuration for Terra Applications
#
#------------------------------------------------------TERRADIR=c:/terra/
TERRACFG=$(TERRADIR)config/
TERRADOCS=$(TERRADIR)docs/
MS_MDLAPPS < $(TERRADIR)ma/
%if exists ($(TERRACFG)*.cfg)
%
include $(TERRACFG)*.cfg
%endif
This configuration file will include all the configuration files in C:\TERRA\CONFIG directory.
TerraScan's configuration file TSCAN.CFG contains:
#-------------------------------------------------------------#
# TSCAN.CFG - TerraScan Configuration File
#
#-------------------------------------------------------------TSCAN_DATA=$(TERRADIR)data/
TSCAN_LICENSE=$(TERRADIR)license/
TSCAN_MACRODIR=$(TERRADIR)macro/
#Directory for user preferences (user has write access)
TSCAN_PREF=$(TERRADIR)tscan/
#Directory for settings (may point to read-only directory)
TSCAN_SET=$(TERRADIR)tscan/
#Files for settings (may be shared by organization)
TSCAN_ALIGNREP
TSCAN_OUTFMT
TSCAN_TRANSFORM
TSCAN_TARGETS
TSCAN_CODES
=
=
=
=
=
$(TSCAN_SET)alrepfmt.inf
$(TSCAN_SET)outfmt.inf
$(TSCAN_SET)trans.inf
$(TSCAN_SET)targets.inf
$(TSCAN_SET)codes.inf
Page 485
22 Configuration Variables