LAS timestamp field size

To post any request/idea for new functionalities
Post Reply
rdurr
Posts: 2
Joined: Fri Jan 29, 2016 11:51 am

LAS timestamp field size

Post by rdurr »

Our scanning device records time in UNIX time, currently 1.45E9, and outputs data in LAS format. CloudCompare appears to be unable to read timestamps this large and retain precision. Is this something that could be fixed?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: LAS timestamp field size

Post by daniel »

What version are you using?

Since version 2.6.2 we shift the time values (using the first one as reference). Then values should be properly restored at export time.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: LAS timestamp field size

Post by daniel »

Anyway I updated the code so as to split the Time field on two scalar fields (one 'low' with values below 1e6 and one 'high' with multiples of 1e6).

There's no better choice for now as scalar fields are 32 bits to save memory.

And most importantly, the values are merged together at export time so as to restore the original time value/ precision.
Daniel, CloudCompare admin
Post Reply