Commit 3fb03e00 authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch 'bug_rasterize2layers' into release-5.6

parents ac656639 9c7c20c9
......@@ -241,7 +241,7 @@ OGRDataSourceToLabelImageFilter<TOutputImage>::GenerateData()
{
std::vector<std::string> options;
std::vector<double> foreground(nbBands,m_ForegroundValue);
std::vector<double> foreground(nbBands*m_SrcDataSetLayers.size(),m_ForegroundValue);
if(m_BurnAttributeMode)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment