From 61d0bb2cd13a7d6b174de77fa4fae0c05dd76378 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Tue, 7 Sep 2010 11:57:25 +0200
Subject: [PATCH] ENH : write geom file when saving the image

---
 Testing/Code/Projections/otbOptResampleImageFilter.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Testing/Code/Projections/otbOptResampleImageFilter.cxx b/Testing/Code/Projections/otbOptResampleImageFilter.cxx
index 7b21380a16..10ec273746 100644
--- a/Testing/Code/Projections/otbOptResampleImageFilter.cxx
+++ b/Testing/Code/Projections/otbOptResampleImageFilter.cxx
@@ -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();
-- 
GitLab