Short answer, no.

Longer answer below.
GeoServer, regardless of the interpolation will do a big subsampling
as you zoom out a lot and with this type of data good quality is
nearly impossible.
We would have to make GeoServer avoid big subsampling factors and
perform multiple smaller subsampling factors. I mean, instead of
scaling directly by 16x16 on each direction we could do 2x2 + 2x2 +
2x2 + 2x2.
Is this feasible? Yes, by modifying the code.
Is this going to be fast? Not really.

So, my suggestions is to do preprocessing correctly, e.g. using the
ImagePyramid.
We describe this also in out training:
https://geoserver.geo-solutions.it/edu/en/raster_data/advanced_gdal/example3.html

Hope this helps.

Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati
“GDPR”), si precisa che ogni circostanza inerente alla presente email
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui
conoscenza è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato
se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential
or otherwise protected from disclosure. We remind that - as provided
by European Regulation 2016/679 “GDPR” - copying, dissemination or use
of this e-mail or the information herein by anyone other than the
intended recipient is prohibited. If you have received this email by
mistake, please notify us immediately by telephone or e-mail.

On Wed, Jun 26, 2019 at 3:41 PM Stefan Ziegler
<[email protected]> wrote:
>
> Hi
>
> Geoserver offers three options for raster rendering: nearest neighbor, 
> bilinear, bicubic. I made some tests with a single band (black and white) 
> geotiff with internal overviews.
>
> Nearest neighbor: Rendering when zoomed out is as expected not very nice. 
> https://drive.google.com/file/d/18MXxA67lmfJFOmM_7qtRf9XUPploSamS/view?usp=sharing
>
> Bilinear: It looks like nearest neighbor when zoomed out (which irritates me 
> a bit). 
> https://drive.google.com/file/d/1lGSxUC4VNEi5NpVoV7Q1Ury2vif3tf5I/view?usp=sharing
>
> Bicubic: This is where i get black dots when zoomed out 
> https://drive.google.com/file/d/1iODH8-gEGGhBNfckQZ7XnXMnqyZDSVGW/view?usp=sharing
>
> When I use the image pyramid plugin to publish the file and preprocess the 
> file with gdal_retile I get much better rendering results with all three 
> methods. Bicubic example: 
> https://drive.google.com/file/d/1Fjml6_FckcuGSVwdRglT30HhzLe_BWaT/view?usp=sharing
>
> Is there a way to achieve the same rendering quality without preprocessing 
> the data (or using the image pyramid plugin respectively)?
>
> Original file can be found here: 
> https://drive.google.com/file/d/19pG6ZCuq1V1WTCr8lb3bMqWCwaBWd2aT/view?usp=sharing
>
> best regards
> Stefan
> _______________________________________________
> 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
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to