Page 1 of 1

Neighboring BIN files with different offset show far away

Posted: Thu Nov 14, 2019 6:53 am
by miaowang
Hi Daniel,
I have two neighboring LAS files. For each file, I load it with different offset coordinates and save as Bin. When I load the two Bin files together, they show at far away place. I also query the point coordinates of each Bin ( as attached picture ). The point at eastern Bin has smaller X value than that at the eastern Bin.
Could you please fix this bug?
Thank you.

Re: Neighboring BIN files with different offset show far away

Posted: Thu Nov 14, 2019 10:11 pm
by daniel
This is not a "bug". It is due to the fact that each entity has its own associated "Global shift" (you can see it in the entity properties). And when you save the entity to a BIN file, its "Global shift" is saved alongside.

So if you load two entities from two different BIN files, they will each have their own "Global shift" and therefore they will be projected in a different local coordinate system.

You should either load all the files during the same session before saving them as BIN files (so that they all use the same "Global shift"). Or use "bookmarks" (https://www.cloudcompare.org/doc/wiki/i ... #Bookmarks) to always apply the same shift (once again, before saving the entities to BIN files).

Re: Neighboring BIN files with different offset show far away

Posted: Mon Nov 18, 2019 3:04 am
by miaowang
Thank you for the answer, Daniel.