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

Fix missing ellipsoid parameters #956

Merged
merged 4 commits into from
Oct 31, 2024
Merged

Fix missing ellipsoid parameters #956

merged 4 commits into from
Oct 31, 2024

Conversation

azrogers
Copy link
Contributor

@azrogers azrogers commented Oct 1, 2024

As Sean noted in #953, there's a few places in the codebase we're currently missing an ellipsoid parameter. These compile fine unless CESIUM_DISABLE_DEFAULT_ELLIPSOID is enabled, but they will cause incorrect results if not fixed. We should consider enabling CESIUM_DISABLE_DEFAULT_ELLIPSOID on CI to catch these issues in the future.

@j9liu j9liu added this to the November 2024 Release milestone Oct 2, 2024
@j9liu j9liu self-requested a review October 21, 2024 20:17
@j9liu
Copy link
Contributor

j9liu commented Oct 28, 2024

@kring could I trouble you to review this? I've been distracted juggling other things, and might not get to this as soon as I want to

@kring
Copy link
Member

kring commented Oct 28, 2024

Looks good to me @azrogers! Can you please just update CHANGES.md, and then I'll merge this.

@azrogers
Copy link
Contributor Author

@kring Updated CHANGES!

@kring
Copy link
Member

kring commented Oct 29, 2024

Updated CHANGES!

Thanks! But isn't it true that these changes represent actual cases where the chosen ellipsoid wasn't considered? So the changelog can point to incorrect results when using a non-WGS84 ellipsoid, not just compiler errors in a debug mode?

@azrogers
Copy link
Contributor Author

@kring Good catch! Updated the wording to be more accurate.

@kring
Copy link
Member

kring commented Oct 31, 2024

Thanks @azrogers!

@kring kring merged commit 783adce into main Oct 31, 2024
24 checks passed
@kring kring deleted the fix-missing-ellipsoid branch October 31, 2024 10:24
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

Successfully merging this pull request may close these issues.

3 participants