From 2322ade772b09a98c529385747d048c62077867f Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Tue, 30 Sep 2014 11:16:20 +0200 Subject: [PATCH] BUG: wrong channel number --- Applications/Projections/otbGridBasedImageResampling.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Projections/otbGridBasedImageResampling.cxx b/Applications/Projections/otbGridBasedImageResampling.cxx index 137069dbcc..a15227d37e 100644 --- a/Applications/Projections/otbGridBasedImageResampling.cxx +++ b/Applications/Projections/otbGridBasedImageResampling.cxx @@ -211,7 +211,7 @@ void DoExecute() m_BandMathX->SetNthInput(0,m_ExtractX->GetOutput(),"locX"); m_BandMathX->SetExpression("locX-idxPhyX"); m_ExtractY->SetInput(inGrid); - m_ExtractY->SetChannel(1); + m_ExtractY->SetChannel(2); m_BandMathY->SetNthInput(0,m_ExtractY->GetOutput(),"locY"); m_BandMathY->SetExpression("locY-idxPhyY"); m_VectorCastX->SetInput(m_BandMathX->GetOutput()); -- GitLab