Any options to create Cloud Optimized GeoTIFFs with GDAL Translate (convert format) Processor?

Hey Folks,

I’m trying to give an easier way for my users to create COGs (Cloud Optimized GeoTIFFs) through QGIS? I know they can use gdal_translate from the command line from the OSGeo4W. But I’d like to give my newer users more options that are less intimidating.

Hi Gregory,

If you want to keep it a gui, you may need to dive into some QGIS - specific GUI programming.

Another option is to put a python wrapper around the gdal_translate command. Write a make_cog.py that prompts for the input directory of files, and the output filename. The python script will run gdalbuildvrt to create a virtual raster layer of the files in the directory , and then gdal_translate to convert the .vrt file to a COG. If you have it documented that the shared drive X: , has a raster_utils directory, then open the OSGeo4W shell and run python3 X:\raster_utils\makecog.py

On Tue, May 6, 2025 at 11:45 PM Gregory Power via OSGeo Discourse <noreply@discourse.osgeo.org> wrote:

Hey Folks,

I’m trying to give an easier way for my users to create COGs (Cloud Optimized GeoTIFFs) through QGIS? I know they can use gdal_translate from the command line from the OSGeo4W. But I’d like to give my newer users more options that are less intimidating.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

1 Like