Hi Jukka Rahkonen,

I got the problem solved. Thanks to Mr. Bovermyer.
<http://osgeo-org.1560.x6.nabble.com/Trying-to-get-nodata-in-GeoTIFF-to-display-as-transparent-td3853784.html>

In my case, the pixel value 255 for each band was causing me a headache.
So, I solved the issue using gdalwarp function:

gdalwarp -srcnodata 255 -dstalpha input.tif output.tif


Now, make sure the type is -dstalpha


I hope it helps

Regards

Julierme



2018-02-08 4:56 GMT-02:00 Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi>:

> Hi,
>
>
>
> I have noticed the same. The alpha band appears also for the demo layer
> nurc:mosaic at least with Geoserver 2.12.2. Did you configure an image
> mosaic or a single image?
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* Julierme Pinheiro [mailto:juliermeopensourcedeve
> lo...@gmail.com]
> *Lähetetty:* 7. helmikuuta 2018 21:36
> *Vastaanottaja:* GeoServer Mailing List List <geoserver-users@lists.
> sourceforge.net>
> *Aihe:* [Geoserver-users] Image Coverage Band Details
>
>
>
> Hi all,
>
> I am configuring a  3 Band image in GS and after configuration, the image
> gets another Band (4) with pixel value = 255 in and out of the image
> boundaries.
>
> I am using the Raster default style. The Coverage Band Details and Band 4
> are in attached.
>
> Even setting the InputTransparentColor = FFFFFF, GS is unable to make
> RGB(255, 255, 255) transparent.
>
> Thank you for your time in advance
>
> Julierme
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to