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 bug fix with temporary subset_geom clipping object, original get_target_crs function #125

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NoaMillsUSDA-ARS
Copy link
Collaborator

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change here overlaps with the #126 PR to which I committed a further edit.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember talking about this change, but I don't remember enough to feel confident this is the entire solution we wanted. Plus, we talked more recently about target CRS versus user-provided CRS, so does that affect this change here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual CRS bug was fixed previously in this commit: 3dc613b. The CRS related-change here improves upon that fix by creating a temporary geometry instead of modifying the request object's geometry to prevent downstream issues. Switching to using separate target_crs and user_geom_crs parameters will be a rather time consuming overhaul of the code, so I propose we fix this small issue now, and fix the larger issue of separating target_crs into two different parameters once we have the capacity to take that on.

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