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

CRS transformations #119

Open
andrea-bistacchi opened this issue Nov 15, 2024 · 1 comment
Open

CRS transformations #119

andrea-bistacchi opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@andrea-bistacchi
Copy link
Collaborator

With 502c560 I added 2D CRS transformations with PROJ wrapped as pyproj - the worldwide standard in geographic/geodetic projections and transformations.

Only the transformation of entities exposing the .points property is accurate, i.e. performed on each point X, Y coordinates. Objects with a regular grid, such as images, are transformed with a simple 2D roto-translation obtained as the best-fit transformation of the bounding box.

@andrea-bistacchi
Copy link
Collaborator Author

To be done for XSections:

  • calculate a roto-translation to be applied to all entities
  • write a new method in the x-sections collection to set all metadata and the plane from the frame (*)
  • write a loop to transform all entities belonging to the cross section with the roto-translation

To be done for regular grids (Voxet, XsVoxet, MapImage, XsImage, Image3D):

  • calculate a roto-translation to be applied to the grid

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

No branches or pull requests

5 participants