I am working with large images in Python and Gdal on a Windows machine and wondering if it is possible to directly access the specific smaller overviews I built into them using gdladdo. I am viewing them in python using Tkinter window. I thought I could keep the size down by accessing the smaller overviews first and then I could focus in by displaying a zoomed in region focused in a small rectangle of interest at successive zooms using higher resolution overviews.??
I modified Even Rouault file: http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdalinfo.py in eclipse - PyDev to print out details on the type of file I am dealing with.
I can't seem to find a Python version of dumpoverviews utility that they discuss in some of the online discussions.
Is there a better way that I am not seeing?? Thanks Charlie Cole Retired PNNL geoscientist (2002) working on a groundwater modeling GUI, something I could never get funding to work on at PNNL..
C:/Users/Charlie/workspace/IMAGE-PROCESSING/GDAL-Example-Files/others/sid-to-GeoTIF.tif Driver: GTiff/GeoTIFF Files: C:/Users/Charlie/workspace/IMAGE-PROCESSING/GDAL-Example-Files/others/sid-to-GeoTIF.tif Size is 27535, 34183 Coordinate System is: LOCAL_CS["unnamed", UNIT["unknown",1]] Origin = (490330.723428669152781,5232944.060503798536956) Pixel Size = (2.438400000000000,-2.438400000000000) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( 490330.723, 5232944.061) Lower Left ( 490330.723, 5149592.233) Upper Right ( 557472.067, 5232944.061) Lower Right ( 557472.067, 5149592.233) Center ( 523901.395, 5191268.147) Band 1 Block=27535x1 Type=Byte, ColorInterp=Red Overviews: 13768x17092, 6884x8546, 3442x4273, 1721x2137 Band 2 Block=27535x1 Type=Byte, ColorInterp=Green Overviews: 13768x17092, 6884x8546, 3442x4273, 1721x2137 Band 3 Block=27535x1 Type=Byte, ColorInterp=Blue Overviews: 13768x17092, 6884x8546, 3442x4273, 1721x2137