Convert time stamps
Not Lite
Convert time stamps action converts the format of time stamps. Further, time stamps can be manipulated by using the Fix time macro action.
Supported conversions are:
INPUT FORMAT |
CONVERTED FORMAT |
|---|---|
GPS seconds-of-week |
GPS seconds-of-week |
GPS standard time |
GPS standard time |
GPS time |
GPS time |
GPS seconds-of-day |
|
Unix time |
|
UTC seconds-of-day |
|
UTC seconds-of-week |
|
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.
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 active only when From is set to GPS seconds-of-day, GPS seconds-of-week, UTC seconds-of-day or UTC seconds-of-week. |
Leap |
Leap seconds are occasional one-second adjustments added to UTC to keep it aligned with Earth’s rotation. GPS time does not include these adjustments and therefore differs from UTC by the accumulated number of leap seconds. Leap is determined by time stamp date. Rule of thumb: 18 seconds after 2017 and for pre 2017 minus one second per year (17 seconds for 2016 etc.). This is active only when From is set to UTC seconds-of-day or UTC seconds-of-week. |
Return value: Number of points that were effected by the process or -1 if the process failed.