1

I've created image mosaic that does not entirely cover its bounding box and got black holes in the places without tif file for that place. I know I can use OutputTransparentColor: #000000 to make it transparent, but tif files have white color as a background. So either I have transparent color for absentee tif files or transparent color for area just around raster.

Black areas in GeoServer ImageMosaic

I could set black color as a background for all tifs to make OutputTransparentColor: #000000 work, but it'll take time. Is there a way to make both these colors transparent?

1 Answer 1

1

It was simple after all. I set InputTransparentColor in #FFFFFF and then OutputTransparentColor in #000000 and both colors are transparent now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.