Skip to content

CRS bug fix with temporary subset_geom clipping object, original get_target_crs function#125

Merged
HeatherSavoy-USDA merged 6 commits intostuckyb:mainfrom
NoaMills-USDA:main
Jan 25, 2025
Merged

CRS bug fix with temporary subset_geom clipping object, original get_target_crs function#125
HeatherSavoy-USDA merged 6 commits intostuckyb:mainfrom
NoaMills-USDA:main

Conversation

@NoaMills-USDA
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.

@HeatherSavoy-USDA HeatherSavoy-USDA merged commit f989c52 into stuckyb:main Jan 25, 2025
1 check 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