-
Notifications
You must be signed in to change notification settings - Fork 94
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
Missing Gdal dataset open flags #154
Comments
Implement parameter struct
Implement parameter struct
The Sharing IssueGDAL since 2.4 allows However, the The simplest solution I could think of is to remove |
wow this is a really cool solution. I think @rmanoka is right. we should remove the shared bitfag and add an unsafe method to DatasetOptions to enable this feature. |
I do agree that |
Amha, this is even not necessary and it would be better to rely on rust safe way of handling shared access to dataset. |
Implement parameter struct
i guess we can add a special method for shared later ( if we need it) |
Sounds good; bitflags already has an |
The
gdal::open_ex
open_flags allow only value from theGDALAccess::Type
values.This prevent using the others
GDAL_OF_XXX
flags combination.They are preprocessor
#define
in gdal.h and thus skipped by bindgen; they are still essential to control some opening behaviors like raster/vector driver selection, or multidimensional raster or gnm drivers.Maybe a crate like bitflags could help.
The text was updated successfully, but these errors were encountered: