-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feat/cog overviews #90
Feat/cog overviews #90
Conversation
todo: a little clean up on text explanations
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
View / edit / reply to this conversation on ReviewNB kylebarron commented on 2023-11-13T22:41:22Z Maybe add a hyperlink to titiler?
Upper case GDAL in "available in gdal"? |
View / edit / reply to this conversation on ReviewNB kylebarron commented on 2023-11-13T22:41:23Z You say "The original file does not contain overviews" but it shows IFDs 1, 2, and 3 have positive decimations...? I thought that meant this file does contain some overviews. wildintellect commented on 2023-11-13T23:31:00Z Oh, right since I changed the example file to an updated one that's actually a COG. I suppose I can just drop that part of the sentence. wildintellect commented on 2023-11-15T00:50:14Z reworded |
View / edit / reply to this conversation on ReviewNB kylebarron commented on 2023-11-13T22:41:24Z Line #6. OverviewResampling = [r for r in ResamplingEnums if (r.value < 8) or r.value > 13] I think this is pretty hard for someone to follow because they have to know the specific ordering of items in
resample_methods = [ wildintellect commented on 2023-11-13T23:35:14Z It's dynamic though, if/when GDAL adds more options they automatically are part of the list(which did happen during the original implementation of this code), assuming GDAL doesn't change the order. I'll think about how to simplfy, thanks. kylebarron commented on 2023-11-13T23:42:53Z I think as long as you don't exclude by number, it'll read more clearly. How about:
from rasterio.enums import Resampling |
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.
Some comments on readability and overviews, but otherwise looks good
Oh, right since I changed the example file to an updated one that's actually a COG. I suppose I can just drop that part of the sentence. View entire conversation on ReviewNB |
It's dynamic though, if/when GDAL adds more options they automatically are part of the list(which did happen during the original implementation of this code), assuming GDAL doesn't change the order. I'll think about how to simplfy, thanks. View entire conversation on ReviewNB |
I think as long as you don't exclude by number, it'll read more clearly. How about:
from rasterio.enums import Resampling View entire conversation on ReviewNB |
reworded View entire conversation on ReviewNB |
New notebook showing an in-depth comparison of overview resampling methods.