[gdal-dev] get metadata from dataset

Travis Kirstine traviskirstine at gmail.com
Fri Oct 21 13:56:52 EDT 2011


How do you get the "image structure metadata" (source_color_space,
interleave etc....) displayed in gdalinfo using the API

python

ds = gdal.Open('file.tif', 0)
ds.Metadata
returns a empty dict

Regards


More information about the gdal-dev mailing list