[Geoserver-users] Geotiff transparency?

Dear Geoserver-users,

As someone new to Geoserver, I don’t know if what I ask is a bug, a pebkac, or simply not possible:

I’ve published two GeoTIFFs to my Geoserver install (both on ESPG:27700) and added them as non-base layers on a Google Map base in OpenLayers.

As you can see from the image, where Geoserver is reprojecting the tiffs, it’s leaving a honking great black border. I’ve added transparency requests on the layer, but they appear to be ignored.

Could anyone suggest what I’ve done wrong?

Associated layer code:

tg04v1 = new OpenLayers.Layer.WMS(

“TG04V1”, serverURL,

{

LAYERS: ‘test:TG04_CopyRaster1’,

STYLES: ‘’,

format: ‘image/png8’,

transparent: true,

tiled: !pureCoverage,

tilesOrigin : map.maxExtent.left + ‘,’ + map.maxExtent.bottom

},

{

buffer: 0,

displayOutsideMaxExtent: true,

isBaseLayer: false,

transparent: true,

opacity: 0.9,

visibility: false

}

);

Mark Hammond
Web Software Developer
British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU, UK
Tel: +44 (0)1842 750050; Fax: +44 (0)1842 750030

Hit any user to continue.

img.jpg