Hi Mark,

i don't know off the top of my head but these all look useful:


http://osgeo-org.1803224.n2.nabble.com/Trying-to-get-nodata-in-GeoTIFF-to-display-as-transparent-td6201753.html

http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/rasters.html
(section: 'alpha channel')

http://geowebcache.org/docs/1.2.2/configuration/xml/simple.html
(assumes tile caching is ok for you)


also, are you sure you don't want to reproject your images before giving 
them to geoserver ? its easy with gdal warp and you'll get better 
performance.. plus the border problem may solve itself. if not i'd 
definately recommend the tile cache option.

my 2c

-i



Le 16/06/2011 10:08 AM, Mark Hammond a écrit :
> 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.
>
> Where Geoserver is re-projecting 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
>                  }
>              );
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to