From 581831aad65e811c47319a518535684f2a3e7e81 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 19 Feb 2018 15:31:19 +0100
Subject: [PATCH] ENH: use bool parameter for map projection handler

---
 .../src/otbWrapperMapProjectionParametersHandler.cxx            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperMapProjectionParametersHandler.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperMapProjectionParametersHandler.cxx
index 493191677c..a4d4557c6d 100644
--- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperMapProjectionParametersHandler.cxx
+++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperMapProjectionParametersHandler.cxx
@@ -50,7 +50,7 @@ void MapProjectionParametersHandler::AddMapProjectionParameters( Application::Po
 
   oss.str("");
   oss <<key<<".utm" <<".northhem";
-  app->AddParameter(ParameterType_Empty, oss.str(),  "Northern Hemisphere");
+  app->AddParameter(ParameterType_Bool, oss.str(),  "Northern Hemisphere");
   app->SetParameterDescription(oss.str(),"The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.");
 
 
-- 
GitLab