Skip to content
Snippets Groups Projects
Commit 90d9c381 authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

ENH: Transmercator option has been removed from MapProjection handler

parent bfb57e29
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ void MapProjectionParametersHandler::AddMapProjectionParameters( Application::Po
app->SetParameterDescription(oss.str(), "This is a Lambert 93 projection mainly used in France.");
// Transmercator
oss.str("");
/*oss.str("");
oss << key<<".transmercator";
app->AddChoice(oss.str(), "Transmercator");
app->SetParameterDescription(oss.str(),
......@@ -85,7 +85,7 @@ void MapProjectionParametersHandler::AddMapProjectionParameters( Application::Po
app->AddParameter(ParameterType_Float, subParamKey.str(), "Scale factor");
app->SetParameterDescription(subParamKey.str(), " Transmercator scale factor value.");
app->SetDefaultParameterFloat(subParamKey.str(), 1.);
*/
// wgs84
oss.str("");
oss << key<<".wgs";
......@@ -159,7 +159,7 @@ const std::string MapProjectionParametersHandler::GetProjectionRefFromChoice(con
return lambert93Projection->GetWkt();
}
break;
case Map_Transmercator:
/*case Map_Transmercator:
{
typedef otb::TransMercatorInverseProjection TransMercatorProjectionType;
TransMercatorProjectionType::Pointer transMercatorProjection = TransMercatorProjectionType::New();
......@@ -178,7 +178,7 @@ const std::string MapProjectionParametersHandler::GetProjectionRefFromChoice(con
app->GetParameterFloat( scale.str()) );
return transMercatorProjection->GetWkt();
}
break;
break;*/
case Map_WGS84:
{
return otb::GeoInformationConversion::ToWKT(4326);
......
......@@ -31,7 +31,7 @@ enum
Map_Utm,
Map_Lambert2,
Map_Lambert93,
Map_Transmercator,
//Map_Transmercator,
Map_WGS84,
Map_Epsg
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment