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

[SEDONA-653] Add a lenient mode for RS_Clip and make it lenient by default #1586

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

Kontinuation
Copy link
Member

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Add an optional lenient parameter to RS_Clip. The default value is true. When lenient is set to true, RS_Clip won't throw exceptions when the raster and geometry do not intersect, but return NULL instead.

How was this patch tested?

Passing newly added tests.

Did this PR include necessary documentation updates?

  • Yes, I have updated the documentation.

@jiayuasu jiayuasu merged commit 4071999 into apache:master Sep 13, 2024
51 checks passed
@jiayuasu jiayuasu linked an issue Sep 14, 2024 that may be closed by this pull request
@jiayuasu jiayuasu added this to the sedona-1.7.0 milestone Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty Intersection Issue when executing RS_Clip after RS_Intersects
2 participants