diff --git a/Code/Projections/otbVectorDataIntoImageProjectionFilter.txx b/Code/Projections/otbVectorDataIntoImageProjectionFilter.txx index 9543a3f75b4c5c987042c9d48f5835b62870c1f8..60edd08e53c414237a4ed33ec23b1bcb6aae1452 100644 --- a/Code/Projections/otbVectorDataIntoImageProjectionFilter.txx +++ b/Code/Projections/otbVectorDataIntoImageProjectionFilter.txx @@ -234,6 +234,11 @@ VectorDataIntoImageProjectionFilter<TInputVectorData, TInputImage> ++itVector; }*/ + if (m_UseOutputSpacingAndOriginFromImage) + { + m_VdProjFilter->GetOutput()->SetProjectionRef(""); + } + this->GraftOutput(m_VdProjFilter->GetOutput()); }