3

I've just saved a GeoTiff image via GDAL (C++ version). I've called BuildOverviews on it. How can I check if the pyramids are actually created in the image?

1
  • Read the API documentation and call GetOverviewCount gdal.org/…
    – user30184
    Commented Aug 14, 2018 at 19:42

1 Answer 1

6

Fastest way without loading it into a GIS would probably be using gdalinfo from command line. That will list the overviews (pyramids) for the raster. Building overviews will also increase the file size and change the modification timestamp, so if you see that, you can be pretty sure it built the pyramids.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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