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

transform_xy method on the Geom trait #157

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

dirkvdb
Copy link
Contributor

@dirkvdb dirkvdb commented Sep 3, 2024

Applies an XY coordinate transform callback to all coordinates in a copy of input geometry
Wraps the GEOSGeom_transformXY_r function

The trampoline functions for storing a rust closure and passing that as the userdata to the c function is inspired by:
https://adventures.michaelfbryan.com/posts/rust-closures-in-ffi/

Applies an XY coordinate transform callback to all coordinates in a copy of input geometry
@GuillaumeGomez
Copy link
Member

CI fails thanks to geo-types, yeay.

I'm really starting to get very annoyed when crates make minor releases while changing minimum supported rust version...

Sorry for the rant and thanks a lot for your PR!

@GuillaumeGomez GuillaumeGomez merged commit bac564a into georust:master Sep 4, 2024
3 of 15 checks passed
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.

2 participants