Both.  For WMS, there's just one setting for the whole geoserver, but if you're 
using WCS, there's a per-layer setting for interpolation.

________________________________
From: Jason Newmoyer <ja...@newmoyergeospatial.com>
Sent: Wednesday, February 1, 2017 6:00 PM
To: Devin Eyre
Cc: GeoServer Mailing List List; Lonnie Matsuno
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

Do you mean in GeoServer layer settings or when processing with GDAL?

On Jan 31, 2017 2:57 PM, "Devin Eyre" 
<devin.e...@stormgeo.com<mailto:devin.e...@stormgeo.com>> wrote:

You'll also need to use nearestNeighbor method (i.e., don't interpolate) for 
interpolation.

________________________________
From: Lonnie Matsuno 
<lonnie.mats...@valtus.com<mailto:lonnie.mats...@valtus.com>>
Sent: Tuesday, January 31, 2017 1:14 PM
To: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic


I'm not sure if this is the same issue, but we encountered "bleeding" of near 
black pixels with geotiff's with JPEG compression. We have subsequently 
switched to a lossless compression in our source geotiffs and it works pretty 
well.



Lonnie

________________________________
From: Devin Eyre [devin.e...@stormgeo.com<mailto:devin.e...@stormgeo.com>]
Sent: January 31, 2017 12:01 PM
To: Jason Newmoyer
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic


Have you tried this:

http://osgeo-org.1560.x6.nabble.com/Re-How-should-i-set-output-transparent-color-no-color-in-image-mosaic-plug-in-in-Geo-server-version--td5027043.html

________________________________
From: Jason Newmoyer 
<ja...@newmoyergeospatial.com<mailto:ja...@newmoyergeospatial.com>>
Sent: Tuesday, January 31, 2017 11:33 AM
To: Devin Eyre
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

Yes, when I do that it turns the black areas transparent in the resulting 
image, as expected. However, the tiles still overlap each other instead of 
showing through.

Here's a piece of the image. The area marked red I would expect to be imagery 
showing through from the tile underneath when using InputTransparentColor.

[Inline image 1]


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com



On Tue, Jan 31, 2017 at 11:53 AM, Devin Eyre <devin.e...@stormgeo.com> wrote:

Have you tried setting OutputTransparentColor to 000000?

________________________________
From: Jason Newmoyer <ja...@newmoyergeospatial.com>
Sent: Tuesday, January 31, 2017 9:33 AM
To: GeoServer Mailing List List
Subject: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

GeoServer 2.10, RHEL 6

I cannot seem to get the InputTransparentColor configuration to work as 
expected with my ImageMosaic layer. I have a mosaic of satellite imagery 
(standard RGB, YCbCr JPEG compressed with overviews) tiled into a regular grid 
of square tiles. Tile index is stored in PostGIS using a view. Tiles are 
ordered (zindex column) so newest imagery ends up on top.

When two tiles overlap, the evil black nodata fringe of the top most layer 
shows over top of the next tile underneath. I believe InputTransaparentColor is 
intended to fix this. However setting it to 000000 actually results in a FULLY 
transparent image. Not an exception response, an actual transparent png.

The granules do not contain an alpha band, raster mask, or nodata values. The 
nodata sections are actually fully black pixels.

Any ideas?

[Inline image 1]

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com




------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net<http://sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to