From 1f3ed2c6fd756fc0330163d28adf7726a40ef5ff Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Thu, 25 Oct 2007 14:08:40 +0000
Subject: [PATCH] =?UTF-8?q?Dalles=20SRTM=20utilis=C3=A9es=20pour=20l'exemp?=
 =?UTF-8?q?le?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Examples/IO/CMakeLists.txt                     | 6 +++---
 Testing/Code/IO/otbDEMToImageGeneratorTest.cxx | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt
index d6a9cab94a..69f19ec9b6 100644
--- a/Examples/IO/CMakeLists.txt
+++ b/Examples/IO/CMakeLists.txt
@@ -15,7 +15,6 @@ TARGET_LINK_LIBRARIES(ImageReadCastWrite OTBCommon OTBIO ITKCommon ITKIO)
 
 ADD_EXECUTABLE(ImageReadRegionOfInterestWrite ImageReadRegionOfInterestWrite.cxx )
 TARGET_LINK_LIBRARIES(ImageReadRegionOfInterestWrite OTBCommon OTBIO ITKCommon ITKIO)
-
 ADD_EXECUTABLE(RGBImageReadWrite RGBImageReadWrite.cxx )
 TARGET_LINK_LIBRARIES(RGBImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
 
@@ -123,11 +122,12 @@ ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS}
          ${INPUTDATA}/DEM_srtm
          ${TEMP}/DEMToImageGenerator.tif
 	 ${TEMP}/pretty_DEMToImageGenerator.png
-         44.5
          6.5
+         44.5
          500
          500
-	 0.02	 
+	 0.002
+	 0.002	
          )
  
 INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
diff --git a/Testing/Code/IO/otbDEMToImageGeneratorTest.cxx b/Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
index 0fc07db115..825e36a6f2 100644
--- a/Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
+++ b/Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
@@ -48,14 +48,14 @@ int otbDEMToImageGeneratorTest(int argc, char * argv[])
   PointType origin;
   origin[0] = ::atof(argv[3]);
   origin[1] = ::atof(argv[4]);
-  std::cout<<origin<<std::endl;
+
   SizeType size;
   size[0] = ::atoi(argv[5]);
   size[1] = ::atoi(argv[6]);
+
   SpacingType spacing;
   spacing[0] = ::atof(argv[7]);
   spacing[1] = ::atof(argv[8]);
-    std::cout<<spacing<<std::endl;
 
   object->SetDEMDirectoryPath(folderPath);
   object->SetOutputOrigin(origin);
-- 
GitLab