Skip to content
Snippets Groups Projects
Commit d863efe3 authored by Christophe Palmann's avatar Christophe Palmann
Browse files

DOC: improvement of some otbapp docs (related to compiling problem of cookbook)

parent 401e40e3
Branches
Tags
No related merge requests found
......@@ -62,6 +62,12 @@ private:
AddParameter(ParameterType_ListView, "feat", "List of features to consider for statistics.");
SetParameterDescription("feat","List of features to consider for statistics.");
// Doc example parameter settings
SetDocExampleParameterValue("inshp", "vectorData.shp");
SetDocExampleParameterValue("outstats", "results.xml");
SetDocExampleParameterValue("feat", "perimeter");
}
void DoUpdateParameters()
......
......@@ -77,6 +77,13 @@ private:
SetParameterDescription("cfield","Field containing the predicted class");
SetParameterString("cfield","predicted");
// Doc example parameter settings
SetDocExampleParameterValue("inshp", "vectorData.shp");
SetDocExampleParameterValue("instats", "meanVar.xml");
SetDocExampleParameterValue("insvm", "svmModel.svm");
SetDocExampleParameterValue("feat", "perimeter");
SetDocExampleParameterValue("cfield", "predicted");
}
void DoUpdateParameters()
......
......@@ -76,6 +76,13 @@ private:
SetParameterDescription("cfield","Field containing the class id for supervision. Only geometries with this field available will be taken into account.");
SetParameterString("cfield","class");
// Doc example parameter settings
SetDocExampleParameterValue("inshp", "vectorData.shp");
SetDocExampleParameterValue("instats", "meanVar.xml");
SetDocExampleParameterValue("outsvm", "svmModel.svm");
SetDocExampleParameterValue("feat", "perimeter");
SetDocExampleParameterValue("cfield", "predicted");
}
void DoUpdateParameters()
......
......@@ -118,7 +118,7 @@ private:
"The application takes the following parameters :"
"- Setting the list of inputs can be done with the 'il' parameter.\n"
"- Setting expressions can be done with the 'exp' parameter. Separating expressions by semi-colons (; ) will concatenate their results into one multiband output image.\n"
"Adding expressions without the use of semi-colons will produce additional output images (not implemented yet).\n"
"Adding expressions without the use of semi-colons will produce additional output images.\n"
"- Setting constants can be done with the 'incontext' parameter. User must provide a txt file with a specific syntax: #type name value\n"
"An example of such a file is given below:\n\n"
"#F expo 1.1\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment