-
Notifications
You must be signed in to change notification settings - Fork 362
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
Provide ability to enable NoData
while preserving underlying storage type.
#1674
Comments
To rephrase the problem: the metadata on the GeoTIFF files is invalid (or unspecified). Our best guess is to say that unspecified We can't really make the guess any better but we can provide a way to change the |
My understanding from reading the spec is that that is indeed the correct meaning. Just to be clear, this request is to allow for one to "override" that in a copy-free way in cases where the source data provider has not used this tag, but has perhaps communicated the notion of a no-data value via some other means (i.e. data product users' manual). Any notion of "guessing" is not the intent here. |
My vote is for other semantics besides |
Guys, this is fantastic. Thanks so much for adding this feature! |
Many GeoTIFF files from USGS are encoded with an implicit
NoData
value (zero). Upon reading, the only way to enableNoData
is to make a full in-memory copy viaconvert
. Further, to do that, conversion you have to match on the storage type to figure out whichNoData
variant to use. So wee need the ability to:NoData
type corresponding to a givenNoNoData
type.NoData
conversions in a way that doesn't require copying underlying pixel values when they aren't going to be changing.The text was updated successfully, but these errors were encountered: