Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert the quaternion from local SR to global SR? #160

Open
alunAlunnnnn opened this issue May 18, 2023 · 1 comment
Open

How to convert the quaternion from local SR to global SR? #160

alunAlunnnnn opened this issue May 18, 2023 · 1 comment

Comments

@alunAlunnnnn
Copy link
Contributor

Hello,

I'm tring to convert I3S 3D-Object Scene Layer data to other format, most of them are wonderful to display, when I have converted it. But the OBB works not very well.

When I convert I3S data with EPSG:4326, all of them have a good work. But if the I3S data have EPSG:3857, the quaternion can not fit with the global, which have not any terrain data.

It looks like below
image

The quaternion in one node is [0, 0, 0.93927725010939966, -0.34315921585602843], convert to euler xyz rotate is [ 0. 0. -2.44103607], it seems there are no x rotate and y rotate data to make the OBB have a correct rotate in EPSG:4326 global.

Could I convert a quaternion correctly from EPSG:3857 to EPSG:4326? for some reason, I can not use ArcGIS Pro Desktop or it's SDK to do this job.

The nodepage data is here

Thanks a lot.

@wzwxwc
Copy link

wzwxwc commented Sep 11, 2023

have you solved?
I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants