Skip to content
Snippets Groups Projects
Commit a63608e8 authored by Etienne Bougoin's avatar Etienne Bougoin
Browse files

ENH : avoid compilation error with otbGCPsToRPCSensorModelImageFilter

parent 27ec9f6b
No related branches found
No related tags found
No related merge requests found
......@@ -102,16 +102,16 @@ GCPsToRPCSensorModelImageFilter< TImage >
// Check wether we are using a DEM or not
if(m_UseDEM)
{
{
// If so, use it to get the elevation
groundPointWithElevation[2] = this->GetHeightAboveMSL(groundPoint);
}
groundPointWithElevation[2] = m_DEMHandler->GetHeightAboveMSL(groundPoint);
}
else
{
{
// Use the MeanElevation value
groundPointWithElevation[2] = m_MeanElevation;
}
}
// Call the 3D version of the method
this->AddGCP(sensorPoint,groundPointWithElevation);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment