-
Notifications
You must be signed in to change notification settings - Fork 26
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
copy
all array like feature fields after unsafe_wrap
#442
Conversation
…rom overwriting the memory
FWIW, the documentation here was correct, so this might need fixing on a slightly higher level (the caller of these functions). |
|
…t GDAL from overwriting the memory" This reverts commit 3bac8a4.
@alex-s-gardner you can |
Testing now |
I get this error when trying to open a parquet file:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now working as expected
Test failures seem unrelated to this PR. |
Fixes evetion/GeoDataFrames.jl#86
This PR adds a
copy
aroundunsafe_wrap
when getting vectors out of GDAL features. This guards against GDAL overwriting that memory, as we found in the issue.Not sure how best to test that this works. A memory sweat test might crash the CI....