-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Landing locations on ellipsoidal bodies #1557
Comments
@Askaniy could you provide test addons? |
These locations of Ceres already in the content, I think they are good for testing |
But with an object placed on a planet surface image is broken due to #542: So I gonna fix this for locations only for now. |
At least with the build from the pull request, locations on Ceres are fixed with its actual oblateness, but I just found that if I modify an object to increase its oblateness to 0.5, locations are still floating in space: |
Problem:
For bodies using constructions
SemiAxes
andOblateness
, the positions of locations are approximated by a sphere, and they are floating in space (see the screenshots below).Way to solve:
Let's notice, that
So, request is to implement recalculation of input planetographic longitude (λ), latitude (φ) and height (h) into x, y, z coordinates using ellipsoid proprieties (semiaxes a_x, a_y, b). I found the formulas in DOI 10.1007/s00190-011-0514-7:


(Duplicate here from the Discord server)
The text was updated successfully, but these errors were encountered: