I have an EPSG:4326 tif covering the world that I need to reproject to EPSG:3857 in order to use it with Mapnik to create a map.
When displaying the original tif and leaving Mapnik doing the reprojection, it is working perfectly. But when using GDAL to reproject beforehand, I get a small gap at the right edge of the tif. On the following screenshot of the tif displayed in a mapping app (like Google Maps), you can see it at the middle of the picture:
Here are the commands I used to create the displayed picture:
gdalwarp \ -co COMPRESS=LZW -co PREDICTOR=2 \ -multi \ -t_srs "EPSG:3857" \ -r cubicspline \ -tap \ -tr 10000 10000 \ world-4326.tif \ world-3857-10000.tif gdaldem color-relief \ -co COMPRESS=LZW -co PREDICTOR=2 \ world-3857-10000.tif \ relief-colors.txt \ relief-world-3857-10000.tif
Is there a way to remove that gap with GDAL?