Skip to content

WMS Transparent Parameter always set to true #389

Description

@utidjinn

Expected Behavior

Switching the wms transparency parameter should allow for images to be returned with or without a transparent background

Actual Behavior

All requests made by the WMS have the transparent parameter set to true, regardless of what the parameter actually is.

Steps to Reproduce the Problem

  1. Using the EMP3 test basic app, add a WMS with the transparency set to true
  2. Notice that you can see through the background
  3. Remove the WMS
  4. Add the same WMS again, but with the transparency set to false
  5. Notice that you can still see through the background, even though it should be non transparent

Sample WMS Request
https://nowcoast.noaa.gov/arcgis/services/nowcoast/mapoverlays_admin_fedgov/MapServer/WMSServer?service=WMS&version=1.3.0&request=GetMap&layers=8&styles=&bbox=41.33,-88.67,43.69,-85.26&width=512&height=256&crs=EPSG:4326&format=image%2Fpng&transparent=false&bgcolor=0x000000

If you switch the transparent value to true, you will see no background (white), but when it's false you see the correct bgcolor (black)

Specifications

  • Version: 3.0.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions