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

ENH : specify input projection & kwl due to filter simplification

parent 28de0d21
Branches
Tags
No related merge requests found
......@@ -87,6 +87,9 @@ int otbGenericRSResampleImageFilter(int argc, char* argv[])
resampler->SetOutputSize(size);
resampler->SetOutputSpacing(spacing);
resampler->SetOutputProjectionRef(utmRef);
resampler->SetInputProjectionRef(reader->GetOutput()->GetProjectionRef());
resampler->SetInputKeywordList(reader->GetOutput()->GetImageKeywordlist());
// Write the resampled image
typedef otb::StreamingImageFileWriter<ImageType> WriterType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment