@@ -68,8 +75,7 @@ int DEMConvert::Describe(ApplicationDescriptor* descriptor)
descriptor->SetName("DEMConvertApplication");
descriptor->SetDescription("Convert a DEM file into a general raster (.ras, .geom and .omd)");
descriptor->AddInputImage();
descriptor->AddOption("OutputPath","The filename (or path filename) of the output. It generates a Output.geom, Output.omd and Output.ras file.","out",1,true,ApplicationDescriptor::String);
descriptor->AddOption("KeepTif","Keep the temporary generate tif file.","ktif",0,false,ApplicationDescriptor::Boolean);
descriptor->AddOption("OutputPath","The filename (or path filename) of the output. It generates a Output.geom, Output.omd and Output.ras file.","out",1,true,ApplicationDescriptor::String);
returnEXIT_SUCCESS;
}
...
...
@@ -86,12 +92,14 @@ int DEMConvert::Execute(otb::ApplicationOptionsResult* parseResult)