I have to produce some lower spatial resolution rasters from a large number of very big geotiffs (c.800GB).

It occured to me that since I've produced the pyramid overviews using GDAL already I could do this by using the data in the *.ovr files without incurring much additional processing.

Does anyone know of an elegant way of doing this using GDAL or Python?


For GDAL > 2.0 you can use the open option OVERVIEW_LEVEL.

(starting with GDAL 2.0) Dataset open option (format specific)

gdal_translate -oo OVERVIEW_LEVEL=2 fullres.tif reducedres.tif

0=original (no overview)
1=first overview level
2=second overview level

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.