Commit 731c9ce5 authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Still need to read AREA_OR_POINT

parent c4acc81a
......@@ -1125,6 +1125,12 @@ void GDALImageIO::InternalReadImageInformation()
itk::EncapsulateMetaData<MetaDataKey::BoolVectorType>(dict, MetaDataKey::NoDataValueAvailable, isNoDataAvailable);
itk::EncapsulateMetaData<MetaDataKey::VectorType>(dict, MetaDataKey::NoDataValue, noDataValues);
// Read AREA_OR_POINT value if present
papszMetadata = dataset->GetMetadata(nullptr);
auto areaOrPoint = CSLFetchNameValue(papszMetadata, "AREA_OR_POINT");
if (areaOrPoint)
m_Imd.Add(MDStr::AreaOrPoint, areaOrPoint);
bool GDALImageIO::CanWriteFile(const char* name)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment