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

[WIP] Globe axis #278

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[WIP] Globe axis #278

wants to merge 2 commits into from

Conversation

asinghvi17
Copy link
Member

@asinghvi17 asinghvi17 commented Oct 30, 2024

This PR builds towards a 3D Globe Axis, that currently will accept a Geodesy.jl datum as the ellipsoid definition, and try to work in ECEF coordinates. We can add more functionality, integration with CoordRefSystems.jl datums, etc later.

This axis will:

  • Automatically apply a transform_func to all plots, going to 3D cartesian space.
  • Lock certain zoom keys so you can interact with this like Google Earth
  • Add a "satellite" camera-interaction API so you can move the camera in spherical space.
  • Subsample polygon meshes so that they always lie on the sphere to some approximation, not under it
  • Allow the following GlobeAxis-specific keywords:
    • radius_scale: scale the radius of the transformation, so it's easier to layer plots (e.g earth image below, polygons above, etc
    • source: same as GeoAxis source, indicate a source CRS
  • Add a "background" sphere by default, using a modified icosphere algorithm, that could at some point be parameterized to hold some background image as well.

More todos to come. This is an expansion of the Geodesy.jl approach that was taken previously

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.

1 participant