Skip to content
Snippets Groups Projects
Commit eb500c83 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: set default elevation mode to average (average = 0 means is equivalent to no dem)

parent 738b177c
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ void ElevationParametersHandler::AddElevationParameters(Application::Pointer app
oss << ".value";
app->AddParameter(ParameterType_Float, oss.str(), "Average Elevation");
app->SetParameterDescription(oss.str(),"This parameter allows to pick up an average elevation for all the points of the image.");
app->SetDefaultParameterFloat(oss.str(),0.);
// // TODO : not implemented yet
// // // Tiff image
......@@ -64,7 +65,7 @@ void ElevationParametersHandler::AddElevationParameters(Application::Pointer app
app->SetParameterString(oss.str(), otb::ConfigurationFile::GetInstance()->GetGeoidFile());
// Set the default value
app->SetParameterString(key, "dem");
app->SetParameterString(key, "average");
}
......
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