Transation XY plane

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
cloudMEETHET
Posts: 1
Joined: Wed Apr 17, 2024 10:29 am

Transation XY plane

Post by cloudMEETHET »

Hi!

I have a question on the translation matrix that I use combined with the command line.
I have to do a sipmle translation, but it won't work.
the result gives me wrong coordinates

Input is an E57 point cloud with only +-100 points.

Translation matrix:
1.000000000000 0.000000000000 0.000000000000 -60306.533000000000
0.000000000000 1.000000000000 0.000000000000 -434989.17700000000
0.000000000000 0.000000000000 1.000000000000 0.000000000000
0.000000000000 0.000000000000 0.000000000000 1.000000000000

The first coordinate of the original E57 is
65919,409 441511,444

Aftern translation it should be
5612.875
6522.268

but it gives
5612.875
6522.250
so the Y coordinate is not matching.

I have put the original E57 and the translation matrix here: https://we.tl/t-uKMNhUKIi8

I have used every possible setting with
set gloal shift 0 0 0
drop global shift
global shift auto
....
none of thse options work.
Could anyone help me in this case?

Thx
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Transation XY plane

Post by daniel »

The issue is indeed with the Global Shift (if not right, you'll lose accuracy). And in your case, you'll lose accuracy anyway because it will happen at loading time (if you don't apply a Global Shift) or at the translation time (because the command line mode won't suggest you to impact the Global Shift instead of the cloud coordinates...). Luckily, the 2.13.x versions now have a -APPLY_TO_GLOBAL option after -APPLY_TRANS to do exactly that!
Daniel, CloudCompare admin
Post Reply