-
Notifications
You must be signed in to change notification settings - Fork 96
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
Filling out GDALDataType
metadata and utility support.
#318
Conversation
3b74544
to
856541a
Compare
GDALDataType
metadata and utility support.
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.
this PR adds a lot of useful functions. I think an enum would fit a bit better here. What do you think?
@jdroenner Thanks for the fantastic feedback! I especially appreciate knowing that the |
d492cbd
to
72e110f
Compare
bors r+ |
318: Filling out `GDALDataType` metadata and utility support. r=metasim a=metasim - [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md). - [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. --- Primarily adds `GdalTypeDescriptor` for enabling runtime inspection of `GDALDataType` properties. **Note, potentially breaking change**: `GDALDataType` is no longer `pub use` in `gdal::raster`, as `GdalType` and `GdalTypeDescriptor` sufficiently cover use cases in safe code. Still accessible via `gdal_sys::GDALDataType`. --- <img width="740" alt="image" src="https://user-images.githubusercontent.com/131013/197398449-e0c1f448-87ee-498f-b1c2-33625b08c653.png"> Co-authored-by: Simeon H.K. Fitch <[email protected]>
Build failed: |
* master: fmt Added cargo alias for displaying compiler output during doctest build. Fix doctest warnings. Disallow warnings in doctests.
bors merge |
Build succeeded: |
CHANGES.md
if knowledge of this change could be valuable to users.Primarily adds
GdalTypeDescriptor
for enabling runtime inspection ofGDALDataType
properties.Note, potentially breaking change:
GDALDataType
is no longerpub use
ingdal::raster
,as
GdalType
andGdalTypeDescriptor
sufficiently cover use cases in safe code.Still accessible via
gdal_sys::GDALDataType
.