Hi all,
I have my WMS service and raster layers configured use bilinear resampling. While these layers look perfect on their own, when added to a layer group, GeoServer seems to fall back to nearest neighbour resampling making the image quality worse. I’ve noticed this behaviour whenever there’s more than one layer in a layer group as a layer group containing only a single a single layer appears fine.
I’ve found the issue has already been reported on the mailing list by someone else as affecting GeoServer v2.1. I’m using 2.6.2 so obviously the issue has yet to be addressed. The existing issue can be found here: http://sourceforge.net/p/geoserver/mailman/message/27750315/
Here is a link which includes an example of a layer group with a single layer (same as viewing the layer on it’s own) and another showing the layer group with multiple layers: https://drive.google.com/folderview?id=0B0QYHTaybWU_fjF5SEtCSDZvOU1PRzVCb3J1dFBiWUloYnJCUDRua201ZGZweGtrTnUtb3c&usp=sharing
The issue linked above mentioned that in GeoServer 2.1 the raster rendering code paths were split; one is server in image server mode, and the other in map server mode, which is likely the cause of this.
This really needs to be fixed.
Cheers,
Tom
Mareeba Shire Council Disclaimer
This message and any attachments may contain privileged and confidential information intended only for the use of the intended addressee(s). Any unauthorised use of this material is prohibited. If you received this message in error please notify the sender immediately, delete the message and destroy any printed or electronic copies. Opinions expressed in this e-mail are those of the sender and do not necessarily represent the views of the Mareeba Shire Council. Council does not accept any responsibility for the loss or damage that may result from reliance on, or the use of, any information contained in this e-mail or attachments.
We recommend that you scan this e-mail and any attachments for viruses before opening. This Council does not accept liability for any loss or damage incurred either directly or indirectly from opening this e-mail or any attachments to it.