Closed alronlam closed 2 years ago
We should keep GeoWrangler free from infra dependencies as much as possible for general use.
gdal
themselves for this function to work. @butchtm @jtmiclat what do you think?
Seems like there's also a way to generate the COG through the python gdal wrapper.
https://geoexamples.com/other/2019/02/08/cog-tutorial.html (see this section: Create a COG using gdal-python).
Discussed with @tm-jc-nacpil and @jtmiclat, agreed to drop this feature request as this is just calling gdal commands. And that settings actually have to be tweaked depending on your tiffs (currently hardcoded). Better to do this striaght on gdal.
This is from @tm-jc-nacpil:
Input: folder of geotiffs Output: processed cloud optimized geotiffs
Reference implementation here
Possible improvements we can add:
Potential Blockers: in the current implementation, we use gdal CLI commands that we pass through os . Not sure if this will be a blocker or anti-pattern for GW since it might rely on something outside of python?