Commit 66487b42 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

STY: improve code formatting

parent b07214b3
Pipeline #7121 failed with stages
in 69 minutes and 58 seconds
...@@ -1115,7 +1115,7 @@ void GDALImageIO::InternalReadImageInformation() ...@@ -1115,7 +1115,7 @@ void GDALImageIO::InternalReadImageInformation()
m_Imd.Bands.push_back(bmd); m_Imd.Bands.push_back(bmd);
} }
ImportMetadata() ; ImportMetadata();
if (noDataFound) if (noDataFound)
{ {
...@@ -1956,9 +1956,8 @@ void GDALImageIO::KeywordlistToMetadata(ImageMetadataBase::Keywordlist kwl, int ...@@ -1956,9 +1956,8 @@ void GDALImageIO::KeywordlistToMetadata(ImageMetadataBase::Keywordlist kwl, int
{ {
// Projection have already been exported (see InternalWriteImageInformation) // Projection have already been exported (see InternalWriteImageInformation)
} }
else{ else
// std::string domain = "OTB"; {
// std::string path = domain + "/" + kv.first ;
SetMetadataValue(kv.first.c_str(), kv.second.c_str(), band); SetMetadataValue(kv.first.c_str(), kv.second.c_str(), band);
} }
} }
...@@ -2018,7 +2017,8 @@ void GDALImageIO::GDALMetadataToKeywordlist(const char* const* metadataList, Ima ...@@ -2018,7 +2017,8 @@ void GDALImageIO::GDALMetadataToKeywordlist(const char* const* metadataList, Ima
m_Imd.Add(MDGeom::RPC, rpcStruct); m_Imd.Add(MDGeom::RPC, rpcStruct);
} }
else{ else
{
kwl.emplace(fieldName, fieldValue); kwl.emplace(fieldName, fieldValue);
} }
} }
......
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