Skip to content
Snippets Groups Projects
Commit c5b04fb7 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : handle dem in physical to rpc Model

parent 200ea26e
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,12 @@ PhysicalToRPCSensorModelImageFilter<TImage>
{
// Set the DEM to the Remote Sensing Transform
rsTransform->SetDEMDirectory(m_DEMDirectory);
// Generate DEMHandler & set it to the GCP2sensorModel
typename DEMHandler::Pointer demHandler = DEMHandler::New();
demHandler->OpenDEMDirectory(m_DEMDirectory.c_str());
m_GCPsToSensorModelFilter->SetUseDEM(true);
m_GCPsToSensorModelFilter->SetDEMHandler(demHandler);
}
rsTransform->InstanciateTransform();
......
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