From 373a1664f9ffd0f12a8a8bb2219927bf363a964b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Mon, 20 May 2019 15:57:54 +0200 Subject: [PATCH] ENH: add elev parameter --- .../AppClassification/app/otbTrainImagesRegression.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/Applications/AppClassification/app/otbTrainImagesRegression.cxx b/Modules/Applications/AppClassification/app/otbTrainImagesRegression.cxx index 1917749332..fbfab6df87 100644 --- a/Modules/Applications/AppClassification/app/otbTrainImagesRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainImagesRegression.cxx @@ -354,6 +354,11 @@ protected: ShareParameter( "ram", "polystat.ram" ); Connect( "select.ram", "polystat.ram" ); Connect( "extraction.ram", "polystat.ram" ); + + ShareParameter( "elev", "polystat.elev"); + Connect( "select.elev", "polystat.elev"); + if (!IsParameterEnabled("io.vd") || !HasValue("io.vd")) + Connect( "imageEnvelope.elev", "polystat.elev"); } /** Init Learning applications and share learning parameters */ -- GitLab