That is the expected behaviour with a paletted image, the values of two
neighbouring pixels have no relationship to each other so any form of
averaging is going to produce a wrong result.

You could convert them to be RGB images using GDAL (pct2rgb.py) but they
will still look a bit mushy when you average them.

Ian

On Sat, 18 Jan 2020 at 17:11, Russ Hore <r...@russ-hore.co.uk> wrote:

> I have an issue if I set the WMS default interpolation to anything other
> than “Nearest neighbour” and zoom in.
>
> OS : Ubuntu 19.01
>
>
> If I set the interpolation to Bilinear or Bicubic, at the same zoom level
> I see;
>
>
>
> The back end tiles are generated from TIFF files using;
>
> gdalbuildvrt -a_srs EPSG:27700 outfile.vrt *tif
> gdal_translate -of GTiff -r nearest -a_srs EPSG:27700 outfile.vrt
> mergedfile.tif
>
>
>
> _______________________________________________
> 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
>



-- 
Ian Turton
_______________________________________________
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