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

support reproject to bounds edge #4

Open
DanielJDufour opened this issue Jun 10, 2023 · 2 comments
Open

support reproject to bounds edge #4

DanielJDufour opened this issue Jun 10, 2023 · 2 comments

Comments

@DanielJDufour
Copy link
Owner

filter out infinity values

@DanielJDufour
Copy link
Owner Author

DanielJDufour commented Jun 10, 2023

what if a bounding box has infinity values along every edge?
one solution could be to treat the bbox as a grid, drop points evenly spaced throughout the inside of the bbox, reproject every point, and then recalculate the bbox

that would be a fairly simple solution and without regression from the current point density approach. the current point density approach drops points evenly along the edges. this would just add points to the interior as well

@DanielJDufour
Copy link
Owner Author

not perfect, but if you reproject with nan_strategy = "skip" AND high density, you'll get close to what you want.

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