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

ENH : write geom file when saving the image

parent 0ffeb9cc
Branches
Tags
No related merge requests found
......@@ -94,8 +94,7 @@ int otbOptResampleImageFilter(int argc, char* argv[])
typedef otb::StreamingImageFileWriter<ImageType> WriterType;
WriterType::Pointer writer= WriterType::New();
writer->SetTilingStreamDivisions();
// TODO : implement the WriteGeomFile in StreamingImageFileWriter
//writer->WriteGeomFileOn();
writer->WriteGeomFileOn();
writer->SetFileName(outfname);
writer->SetInput(resampler->GetOutput());
writer->Update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment