diff --git a/Testing/Code/Projections/otbOptResampleImageFilter.cxx b/Testing/Code/Projections/otbOptResampleImageFilter.cxx
index 7b21380a1646c39a8153a4daef1a7303e328206f..10ec2737461bb2db264907d3f2db822c757f33de 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();