Hi,
Works for me with Geoserver 2.8 and these requests:
Transparent with this gdalinfo report
Band 1 Block=768x1 Type=Byte, ColorInterp=Red
Mask Flags: PER_DATASET ALPHA
Band 2 Block=768x1 Type=Byte, ColorInterp=Green
Mask Flags: PER_DATASET ALPHA
Band 3 Block=768x1 Type=Byte, ColorInterp=Blue
Mask Flags: PER_DATASET ALPHA
Band 4 Block=768x1 Type=Byte, ColorInterp=Alpha
Non-transparent with gdalinfo report
Band 1 Block=768x1 Type=Byte, ColorInterp=Red
Band 2 Block=768x1 Type=Byte, ColorInterp=Green
Band 3 Block=768x1 Type=Byte, ColorInterp=Blue
This setting makes the map transparent from where there are no vector features. I wonder if your problems is that your polygons are covering the labels from the other layer? Then you must change the rendering order.
-Jukka Rahkonen-
KhunSanAung wrote:
···
Hi All,
I’m using WMS Request to get PNG images from GeoServer.
I’m fusing two different PNG layers (One for Features & One for Labels) outside of GeoServer.
I found that both of my PNG files are not transparent for overlaying each other.
I’ve added &TRANSPARENT=TRUE
But it doesn’t work as I supposed.
Can anybody help me How can I make WMS request to GeoServer to get TRANSPARENT Image?
Thank you very much in advanced.
sample WMS Request is as below.
–
Have a nice day!
Mr. Khun San Aung