When I display a raster with a tiled layer, the limits of the tiles can always been seen due to some lines and columns of pixels repeated.
How the code is done now, the right bound of a tile is equal to the left bound of the next tile. Meaning that the colomn that makes the limit between those two tile is always asked twice to the server. It would be OK if it where not displayed twice.
If I apply the following patch the display problem is not visible anymore:
--- lib/OpenLayers/Layer/Grid.js (revision 4970)
+++ lib/OpenLayers/Layer/Grid.js (working copy)
@@ -356,8 +356,8 @@
var tileBounds =
new OpenLayers.Bounds(tileoffsetlon,
tileoffsetlat,
- tileoffsetlon + tilelon,
- tileoffsetlat + tilelat);
+ tileoffsetlon + tilelon - resolution,
+ tileoffsetlat + tilelat - resolution);
var x = tileoffsetx;
x -= parseInt(this.map.layerContainerDiv.style.left);