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

ENH : Set OutputProjectionRef to make the cartographic image works fine

parent f9013c83
Branches
Tags
No related merge requests found
......@@ -121,6 +121,7 @@ int BundleToPerfectSensor::Execute(otb::ApplicationOptionsResult* parseResult)
resampler->SetOutputSize(size);
resampler->SetOutputStartIndex(start);
resampler->SetOutputKeywordList(preader->GetOutput()->GetImageKeywordlist());
resampler->SetOutputProjectionRef(preader->GetOutput()->GetProjectionRef());
resampler->SetEdgePaddingValue(defaultValue);
FusionFilterType::Pointer fusionFilter = FusionFilterType::New();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment