Commit 9c7c20c9 authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: wrong vector size given to GDALRasterizeLayers

parent 4fed6c33
......@@ -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);
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