make gdal metadata extraction working