From 3d6f7e386e478a299245ea6b1ea0930c7f56b7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Thu, 1 Aug 2019 13:50:51 +0200 Subject: [PATCH] ENH: change io.vd's type from VectorData to InputFilename, as the parameter is used as a filename in the application --- .../Applications/AppClassification/app/otbVectorClassifier.cxx | 2 +- .../Applications/AppClassification/app/otbVectorRegression.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx b/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx index add5f261cd..92f4e90f54 100644 --- a/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx @@ -51,7 +51,7 @@ VectorClassifier SetDocSeeAlso("TrainVectorClassifier"); AddDocTag(Tags::Learning); - AddParameter(ParameterType_InputVectorData, "in", "Name of the input vector data"); + AddParameter(ParameterType_InputFilename, "in", "Name of the input vector data"); SetParameterDescription("in","The input vector data file to classify."); AddParameter(ParameterType_InputFilename, "instat", "Statistics file"); diff --git a/Modules/Applications/AppClassification/app/otbVectorRegression.cxx b/Modules/Applications/AppClassification/app/otbVectorRegression.cxx index 3e529e9000..9b655fe01e 100644 --- a/Modules/Applications/AppClassification/app/otbVectorRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbVectorRegression.cxx @@ -50,7 +50,7 @@ VectorRegression SetDocSeeAlso("TrainVectorRegression"); AddDocTag(Tags::Learning); - AddParameter(ParameterType_InputVectorData, "in", "Name of the input vector data"); + AddParameter(ParameterType_InputFilename, "in", "Name of the input vector data"); SetParameterDescription("in","The input vector data file to classify."); AddParameter(ParameterType_InputFilename, "instat", "Statistics file"); -- GitLab