I’m trying to upload a raster to Mapbox, but no matter what I do, the output file always turns the nodata cells to black. I have tried fixing this using RasterBandNodataSetter and RasterPaletteResolver. If I look at the feature cached output from those transformers the nodata cells are still transparent. The issue arises when I use the MBTILES writer. No matter what, it writes nodata as black. I also tried removing the nodata (RasterBandNodataRemover), doesn’t work. I have tried outputting the data both as png, png8, and jpeg. Does anyone have any other suggestions? Thank you in advance!
Hi
Thanks for the offer of help
I have tried PNG, PNG8, and JPEG, but I haven’t changed the PNG Compression Levels. All of my nodata cells have a value of 0 as defined by a Raster BandNodataSetter. When I have tried writing to JPEG, I do need to also use a RasterPaletteResolver. That is not necessary on PNG though. Thank you again.
Hi
Destination Interpretation Type
=RGBA32
RGB to RGBA
=Create alpha band from nodata
Let us know if this has different or desired results!
That was it