diff --git a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx index b84d7d795aa0f98efad16ec9452f6d2602e5d4ae..08613d0980ad506e6bb5c5ff61d154a41910019b 100644 --- a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx @@ -102,7 +102,10 @@ private: AddRAMParameter(); // Doc example parameter settings - // SetDocExampleParameterValue("in", "QB_1_ortho.tif"); + SetDocExampleParameterValue("in", "support_image.tif"); + SetDocExampleParameterValue("vec", "variousVectors.sqlite"); + SetDocExampleParameterValue("field", "label") + SetDocExampleParameterValue("out","polygonStat.xml"); } void DoUpdateParameters() @@ -134,11 +137,7 @@ private: statWriter->SetFileName(this->GetParameterString("out")); statWriter->AddInputMap("samplesPerClass",classCount); statWriter->AddInputMap("samplesPerVector",polySize); - statWriter->Update(); - // TODO : try to re-use the otb::StatisticsXMLFileWriter - // Need to adapt for map container - } };