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

Transformation traits #229

Open
asinghvi17 opened this issue Jun 7, 2024 · 0 comments
Open

Transformation traits #229

asinghvi17 opened this issue Jun 7, 2024 · 0 comments

Comments

@asinghvi17
Copy link
Member

asinghvi17 commented Jun 7, 2024

I've run into some interesting situations with the current transformation interface in GeoMakie/Makie, and some traits placed in type params might resolve this:

bboxtrait

  • DirectBBox -> simply transform minima and maxima
  • EdgeSampledBBox{N} -> sample and transform along edges
  • FullSampledBBox{N} -> sample and transform an nxn grid inside the original box

This is doable now.

interpolationtrait

This is for a future Makie version where transformations can change the length as well as the values of data, if invoked with the plot type as a reference.

  • Linear -> don't do anything, default.
  • Geodesic -> resample in geodesic space, applicable only to lines.

All transformations should also reproject/circ-shift rasters if necessary to avoid artifacts.

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

1 participant