Converting LAS file into PCD doesn't preserve coordinates?

Feel free to ask any question here
Shukhrat
Posts: 12
Joined: Sun Mar 31, 2019 11:11 pm

Re: Converting LAS file into PCD doesn't preserve coordinates?

Post by Shukhrat »

Oh I see, Y coordinates rounded into 0 or 0.5 (6106507.6058830 is rounded into 6106507.5000000) when exporting from LAS into PCD which is why it causes those lines. Do you know how to resolve this problem?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Converting LAS file into PCD doesn't preserve coordinates?

Post by daniel »

Yes, refer to my very first answer: PCD files can't store large coordinates (as they are limited to 32 bits floating point values). You are bound to shift the coordinates (which means in effect sayinig "Yes" to the Global Shift dialog, while unchecking the ""Preserve global shift on save" checkbox.

But of course this means that the coordinates in the PCD files won't be the same as the original LAS file...
Daniel, CloudCompare admin
Post Reply