I have created a four-band raster dataset (true color surface data) using ArcMap 10.8.1, wherein the fourth band serves as the alpha band. The dataset includes external pyramid files (.ovr), as illustrated in the following diagram:
After publishing this dataset as a WMS service using the World Image method, the Alpha band functions correctly, enabling the data to display properly. The "invalid areas" around the edges appear transparent, consistent with how the data is displayed within ArcMap.
However, when the same dataset is published as a WMS service using the Image Mosaic method, the Alpha band fails to take effect, resulting in black regions around the edges of the data, as depicted in the following illustration:
When attempting to configure the "Output Transparent Color" property to black in the layer settings interface, the entire raster fails to display, albeit clicking on the map area still returns raster values.
I am curious as to why this issue occurs and how to address this situation.
2024/6/7 Update on the issue: I have identified that the pyramids of the data are the primary cause behind the black areas in the imagery. Specifically, when zooming into the edges of the layer to a certain scale, those black regions vanish. Details are illustrated in the attached figure below.
gdaladdo -ro testortho.tif
, created an ImageMosaic store, published the layer with default values. Could you create and share one small TIFF file for testing?