diff --git a/Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.cxx b/Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.cxx index 13f8a13a7356dcdd6b4c946af1e9d25eb5a2dce9..860439ccb50627cd6c227a9f1b2e7480861ab6ef 100644 --- a/Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.cxx +++ b/Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.cxx @@ -68,18 +68,21 @@ void MapProjectionParametersHandler::AddMapProjectionParameters( Application::Po std::ostringstream subParamKey; subParamKey<<oss.str()<<".falseeasting"; - app->AddParameter(ParameterType_Float, subParamKey.str(), "False easting"); + app->AddParameter(ParameterType_Float, subParamKey.str(), "False easting"); app->SetParameterDescription( subParamKey.str(), " Transmercator false easting value."); + app->SetDefaultParameterFloat(subParamKey.str(),0.); subParamKey.str(""); subParamKey<<oss.str()<<".falsenorthing"; app->AddParameter(ParameterType_Float, subParamKey.str(), "False northing"); app->SetParameterDescription(subParamKey.str(), " Transmercator false northing value."); - + app->SetDefaultParameterFloat(subParamKey.str(),0.); + subParamKey.str(""); subParamKey<<oss.str()<<".scale"; app->AddParameter(ParameterType_Float, subParamKey.str(), "Scale factor"); app->SetParameterDescription(subParamKey.str(), " Transmercator scale factor value."); + app->SetDefaultParameterFloat(subParamKey.str(),1.); // wgs84 oss.str("");