From 0effbc4e26be59c89e99c98e2a825cbcb55881a8 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Thu, 3 Apr 2008 16:04:53 +0000
Subject: [PATCH] =?UTF-8?q?Ajout=20Lambert2Etendu=20et=20PerBandImageFilte?=
 =?UTF-8?q?r=20=C3=A0=20l'appli=20d'orthorectif?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Projections/otbConvertCartoToGeoPoint.cxx | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/Projections/otbConvertCartoToGeoPoint.cxx b/Projections/otbConvertCartoToGeoPoint.cxx
index 919dcda1ff..88de06b147 100644
--- a/Projections/otbConvertCartoToGeoPoint.cxx
+++ b/Projections/otbConvertCartoToGeoPoint.cxx
@@ -1,14 +1,21 @@
 /*=========================================================================
 
-  Programme :   OTB (ORFEO ToolBox)
-  Auteurs   :   CS - R. Garrigues
-  Language  :   C++
-  Date      :   18 Octobre 2007
-  Version   :   
-  Role      :   Ortho-Rectification Image Application
-  $Id$
+Program:   ORFEO Toolbox
+Language:  C++
+Date:      $Date$
+Version:   $Revision$
+
+
+Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
+See OTBCopyright.txt for details.
+
+
+This software is distributed WITHOUT ANY WARRANTY; without even 
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+PURPOSE.  See the above copyright notices for more information.
 
 =========================================================================*/
+
  
 #if defined(_MSC_VER)
 #pragma warning ( disable : 4786 )
@@ -170,7 +177,7 @@ int main(int argc, char* argv[])
 					
         return generic_main_carto_geo<LambertProjectionType>(argc,argv, lambertProjection, parseResult);
       }
-      if ((typeMap == "LAMBERT2")&&(nbParams==0))
+      else if ((typeMap == "LAMBERT2")&&(nbParams==0))
       {
         typedef otb::Lambert2EtenduInverseProjection Lambert2ProjectionType;
         Lambert2ProjectionType::Pointer lambert2Projection = Lambert2ProjectionType::New();
-- 
GitLab