Fix for #3714 in master, addresses RGBA tiffs that have an alpha value and no data value - and are using the no data value over the alpha.
This commit is contained in:
parent
3ae71eea0f
commit
951f10791a
3 changed files with 3 additions and 3 deletions
|
@ -545,7 +545,7 @@ feature_ptr gdal_featureset::get_feature(mapnik::query const& q)
|
|||
if (alpha)
|
||||
{
|
||||
MAPNIK_LOG_DEBUG(gdal) << "gdal_featureset: processing alpha band...";
|
||||
if (!raster_has_nodata)
|
||||
if (!raster_has_nodata || (red && green && blue))
|
||||
{
|
||||
raster_io_error = alpha->RasterIO(GF_Read, x_off, y_off, width, height, image.bytes() + 3,
|
||||
image.width(), image.height(), GDT_Byte, 4, 4 * image.width());
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 99da07d5e76ccf5978ef0a380bf5f631f9088584
|
||||
Subproject commit f95fe1c7b56a5eeb4fa2c2bcdc403d9254ce7448
|
|
@ -1 +1 @@
|
|||
Subproject commit 674c5402e6275905ddb7b1fccb0376cae2ec50e0
|
||||
Subproject commit df578e3436681bb9bc582c7ac55a4205e98334f4
|
Loading…
Reference in a new issue