Open ARiisgaard opened 4 years ago
Have you tried re-opening that thread to figure out what the guy did to fix the problem?
Turns out the buffer being to small seems to be the fact that my raster files wasn't perfectly dividable with the tile size. As illustrated in the figure above it does not have data to fill the fourth tile.
Since no data is missing im just going to fix this in the javascript by reducing the extent, so the dataless areas doesn't get rendered
When running my modified version (changed fra png to tiff) of gdal2tiles I get the error: ERROR 1: Buffer too small
The tiles does get produced, but the geoinfo gets lost in the process. The person, who originally was changing gdal2tiles to a higher bitsize, had the same issue. He mentions that the issue was due to something being wrong in the java part: