Select to view content in your preferred language

How to publish WMS service with transparency?

449
0
12-21-2022 02:04 AM
GerardMartin
Regular Contributor

Hi folks,

I am using ArcGIS Pro 2.8.2 to publish a Mosaic Dataset to display as a WMS service with ArcGIS Enterprise 10.8. This Mosaic Dataset is composed by RGB images with Alpha channel, they are orthophotos.

In ArcGIS Pro, we can see this Mosaic Dataset showing transparency in some areas (I have assigned Band 4 = Alpha channel):

01_arcgispro.jpg

But WMS service does not preserve the transparency, as you can see in Enterprise:

02_arcgisenterprise.jpg

It also does not preserve transparency in case of calling the service on the command line in a web browser:

https://.../MDS_ortho/ImageServer/WMSServer?

service=wms&request=GetMap&WIDTH=2024&HEIGHT=1080&FORMAT=image/png&LAYERS=MDS_ortho&BGCOLOR=0x000000&TRANSPARENT=TRUE&VERSION=1.3.0&CRS=EPSG:25831&BBOX=332734.00,4544700.00,340100.00,4551000.00

03_wms_request.jpg

Also, we have the same result when we consume this WMS service in ArcGIS Pro.

How must be publish this WMS service in order to preserve transparency?

Best regards, G.

0 Kudos
0 Replies