-
Notifications
You must be signed in to change notification settings - Fork 41
feat(rust/sedona-functions): Implement ST_Affine(), ST_Rotate(), and ST_Scale() #504
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
Merged
Merged
Changes from 26 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
6c9da22
WIP
yutannihilation b9d2e25
Implement 3D affine transformation
yutannihilation f40a866
Add 2D case
yutannihilation ef26770
Handle 2D cases
yutannihilation d955709
Add some tests
yutannihilation c61a88c
Add 3d tests
yutannihilation 3497421
Address clippy warning
yutannihilation 2d50588
Handle 2D/3D transparently
yutannihilation 3c597e4
Separate code
yutannihilation a397fca
Add tests for item CRS
yutannihilation fb30f51
Add Python tests
yutannihilation 06374f5
Format
yutannihilation cb6704d
Add license header
yutannihilation 5ecb2a4
Add methods for ST_Rotate and ST_Scale
yutannihilation a4fe16f
Tweak
yutannihilation 991d891
Add ST_Rotate
yutannihilation e918c01
Tweak documents
yutannihilation 9191089
Remove unnecessary pub(crate) and add RotateAxis
yutannihilation 7b07c46
Add ST_RotateX and ST_RotateY
yutannihilation f8bd92c
Add st_scale
yutannihilation 95110a5
Refactor
yutannihilation 6eb411c
Add tests
yutannihilation 427566d
Merge remote-tracking branch 'upstream/main' into feat/st_affine
yutannihilation 887d9c0
Don't run ST_Rotate Rust tests
yutannihilation c33effe
Remove tests
yutannihilation eee527c
Apply suggestions from code review
yutannihilation 561cc69
Import sedona_internal_err
yutannihilation 0080ebb
Improve tests
yutannihilation 6e15c46
Move match to upper
yutannihilation 9aeb3f0
Add more tests
yutannihilation 0eaa255
Let CrsTransform accept 3D
yutannihilation 9bb269c
Use CrsTransform
yutannihilation 77de26f
Handle NULL
yutannihilation ce14c46
Add more tests
yutannihilation 5bb7568
Return early
yutannihilation 2d91b53
any_null -> no_null
yutannihilation 517983b
Improve test code
yutannihilation e9af8c0
Remove unused imports
yutannihilation 294fbc5
Tweak tests
yutannihilation 79a4bb9
Add simple Python tests for ST_RotateX and ST_RotateY
yutannihilation f6e5c4d
Add a simple test in st_affine_helpers
yutannihilation d3e034e
Add 3D test cases for CrsTransform
yutannihilation 0ade209
Add more simple tests in ST_Rotate
yutannihilation File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.