Someone asked me to have a look at a Geoserver WMS which was showing strange 'white stripes'. Looking into this it appeared he wa
s using a Leaflet web app in epsg:3857, and serving a raster image which is actually a geotiff in epsg:28992 (later I found this behaviour in a totally unrelated ecw dataset).
When zoomed in enough, it seems as Geoserver is 'cutting off' part of the map image on the right side of the image. In QGIS zoomed in at about > 1:5000 see
it is seen on the right part of the mapcanvas.
But when you use a Leaflet application (which uses tiles) it is even more a problem because EVERY tile shows this cutoff aspect.
To make this more easy to view/reproduce, I created a little demo application:
which serves the same (downloadable) geotiff both via Geoserver and QGIS to see the difference.
Zooming in more almost removes half of a tile.
The tiff is downloadable and used style I will attach.
Note that when viewing this data in epsg:28992 (the native crs) all is fine! So it has something to do with (maybe?) a wrong clipping order or so?