diff --git a/Projections/otbBundleToPerfectSensor.cxx b/Projections/otbBundleToPerfectSensor.cxx index bd069ab2483e18cfb848af538cffd1d908c28ab8..97131d826622bde1c271b4e3bd76eea4ab9a54fb 100644 --- a/Projections/otbBundleToPerfectSensor.cxx +++ b/Projections/otbBundleToPerfectSensor.cxx @@ -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();