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

Fix MVT large geometry processing #151

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Aug 8, 2023

If MVT uses extent is larger than 4096, is_area_positive test panics due to an integer overflow.

The solution seems to use i64 area computation instead - the parsing seem to work ok.

If MVT uses extent is larger than 4096, is_area_positive test panics due to an integer overflow.

The solution seems to use i64 area computation instead - the parsing seem to work ok.
@nyurik nyurik requested a review from pka August 8, 2023 03:20
@pka pka merged commit 78672a0 into georust:main Aug 8, 2023
1 check passed
@nyurik nyurik deleted the fix-large-geoms branch August 8, 2023 07:17
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