Please enable JavaScript to view this site.

TerraScan User Guide

Navigation: Batch Processing Reference > Macros > Macro actions

Convert time stamps

Scroll Prev Top Next More

Convert time stamps

Not Lite

Convert time stamps action converts the format of time stamps. Supported conversions are:

INPUT FORMAT

CONVERTED FORMAT

GPS seconds-of-week

GPS standard time

GPS time

GPS standard time

GPS seconds-of-week

GPS time

GPS time

GPS seconds-of-week

GPS standard time

Unix time

GPS seconds-of-week

GPS standard time

GPS time

The conversion is necessary, for example, if data collected in several weeks is processed together in one project. Then, GPS seconds-of-week time stamps result in repeated values and GPS standard time must be used in order to provide unique time stamps for each laser point. This is a requirement for many processes that rely on the link between laser points and trajectory information. Therefore, it is essential that time stamps of trajectories and laser data are stored in the same GPS time format.

The conversion of time stamps can also be done when laser points are imported into a project. See Import points into project command and Section Attributes to store of New project command for more information.

Further, time stamps can be manipulated by using the Fix time macro action.

macro_convert_time_stamps

SETTING

EFFECT

From

Original time stamp format of the laser points.

To

Target time stamp format.

Lines

Only points in the given line(s) are effected. Use a comma or minus to separate several line numbers, for example 2-5,10. 0-65535 stands for all lines.

Survey date

Date when the laser 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 or GPS time.

Return value: Number of points that were effected by the process or -1 if the process failed.

TerraScan User Guide   01.01.2024   © 2024 Terrasolid Ltd