Please enable JavaScript to view this site.

TerraScan User Guide

Navigation: Batch Processing Reference > Macros > Macro actions

Transform points

Scroll Prev Top Next More

Transform points

Not Lite

Transform points action performs the same process as the Transform loaded points command.

If the transformation manipulates the Z values of the points in a way that they do not represent elevation values anymore but rather elevation differences, the macro must create a new copy of the data instead of overwriting the original files. This applies if you run the macro on a project or on selected files. These transformations include the types:

Height from ground - elevation of each point is replaced by its height above ground. Ground is defined by points in one or more point classes.

Height from TIN - elevation of each point is replaced by its height above a TIN model. The TIN model is defined by an active surface model in TerraModeler.

Add TIN - elevation values of a TIN are added to the original elevation values of loaded points. The corresponds to an Adjust to geoid action which uses a TIN as geoid model. The TIN is defined by an active surface model in TerraModeler.

Scale dZ from TIN - scaled elevation difference values between the loaded points and a TIN are added to the original elevation values of loaded points. The TIN is defined by an active surface model in TerraModeler.

Return value: Number of points that were effected by the process, -1 if the process failed due to a missing fence, -2 if the process was aborted, -3 if the process failed due to invalid parameters, -4 if the process failed due to a missing transformation.

TerraScan User Guide   01.01.2024   © 2024 Terrasolid Ltd