Skip to content
Snippets Groups Projects
Commit cf558fdd authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 6b370303
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ private: ...@@ -122,7 +122,7 @@ private:
bool isRefPHR = false; bool isRefPHR = false;
bool isMovingPHR = false; bool isMovingPHR = false;
otb::PleiadesImageMetadataInterface::Pointer phrIMI = otb::PleiadesImageMetadataInterface::Pointer phrIMI =
otb::PleiadesImageMetadataInterface::New(); otb::PleiadesImageMetadataInterface::New();
phrIMI->SetMetaDataDictionary(refImage->GetMetaDataDictionary()); phrIMI->SetMetaDataDictionary(refImage->GetMetaDataDictionary());
isRefPHR = phrIMI->CanRead(); isRefPHR = phrIMI->CanRead();
...@@ -149,12 +149,12 @@ private: ...@@ -149,12 +149,12 @@ private:
std::string panProcessing = kwlPan.GetMetadataByKey("support_data.processing_level"); std::string panProcessing = kwlPan.GetMetadataByKey("support_data.processing_level");
std::string xsProcessing = kwlXS.GetMetadataByKey("support_data.processing_level"); std::string xsProcessing = kwlXS.GetMetadataByKey("support_data.processing_level");
if (panProcessing.compare("SENSOR") == 0 && if (panProcessing.compare("SENSOR") == 0 &&
xsProcessing.compare("SENSOR") == 0) xsProcessing.compare("SENSOR") == 0)
{ {
SetParameterInt("mode",Mode_PHR); SetParameterInt("mode",Mode_PHR);
} }
} }
} }
} }
......
...@@ -300,7 +300,7 @@ private: ...@@ -300,7 +300,7 @@ private:
{ {
otbAppLogINFO("Using the PHR mode"); otbAppLogINFO("Using the PHR mode");
// Setup a simple affine transform using PHR support data // Setup a simple affine transform using PHR support data
ImageKeywordlist kwlPan; ImageKeywordlist kwlPan;
ImageKeywordlist kwlXS; ImageKeywordlist kwlXS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment