Hi Simone,
Thanks for your attention. I'm using GeoServer 2.4.0 and right now I'm
trying to use
Background value=0
InputTransparentColor=000000
But when I open the openlayer image preview in Geoserver, I still see the
black border around the image. One thing I noticed is that by using the
InputTransparentColor, I now have an alpha channel with correct values but
apparently the image preview is not respecting the alpha channel.
Bellow is the gdalinfo for one of the pyramids tile.
Driver: GTiff/GeoTIFF
Files: mosaico_sul_01_01.tif
Size is 8192, 8192
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-57.754539999999999,-22.341123000000000)
Pixel Size = (0.000048008830920,-0.000048008830920)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( -57.7545400, -22.3411230) ( 57d45'16.34"W, 22d20'28.04"S)
Lower Left ( -57.7545400, -22.7344113) ( 57d45'16.34"W, 22d44' 3.88"S)
Upper Right ( -57.3612517, -22.3411230) ( 57d21'40.51"W, 22d20'28.04"S)
Lower Right ( -57.3612517, -22.7344113) ( 57d21'40.51"W, 22d44' 3.88"S)
Center ( -57.5578958, -22.5377672) ( 57d33'28.42"W, 22d32'15.96"S)
Band 1 Block=512x512 Type=Byte, ColorInterp=Red
Band 2 Block=512x512 Type=Byte, ColorInterp=Green
Band 3 Block=512x512 Type=Byte, ColorInterp=Blue
Cheers
Daniel
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Transparent-background-in-ImagePyramid-tp5151837p5151840.html
Sent from the GeoServer - User mailing list archive at Nabble.com.