Commit 3f4c3da5 authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: StereoRectificationGridGenerator : better handling of input DEM

parent 5a58f62c
......@@ -212,6 +212,12 @@ private:
// Setup the DEM Handler
otb::Wrapper::ElevationParametersHandler::SetupDEMHandlerFromElevationParameters(this,"epi.elevation");
if (otb::Wrapper::ElevationParametersHandler::IsGeoidUsed(this,"epi.elevation") &&
otb::Wrapper::ElevationParametersHandler::IsDEMUsed(this,"epi.elevation"))
{
m_DeformationFieldSource->SetUseDEM(true);
}
if(IsParameterEnabled("epi.elevation.avgdem"))
{
......
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