<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:"Calibri", sans-serif;}
#qt a:link{color:rgb(5, 99, 193);text-decoration-color:currentcolor;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto;}
#qt a:visited{color:rgb(149, 79, 114);text-decoration-color:currentcolor;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto;}

p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Hi Jose,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">I'm not sure if this is happening in your case, but I've seen something similar with rotated rasters that used 0 or a negative value for the outside pixels. If you're doing interpolation or reprojection, those values will be used in the computation and affect neighboring pixels. But if you set the nodata value on the inputs, GDAL will (usually?) mask out those pixels so they don't affect the output.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu<br></div><div style="font-family:Arial;"><br></div><div>On Wed, Dec 4, 2024, at 18:14, Rodriguez, Jose M CTR (USA) via gdal-dev wrote:<br></div><blockquote type="cite" id="qt" style=""><div class="qt-WordSection1"><p class="qt-MsoNormal">Hello,<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">I have been using GDAL to process a large collection of images of the Moon with the ultimate goal of generating a tile set for use in CesiumJS.<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">I use gdalbuildvrt to build of virtual mosaic of the images in question and then use gdal2tiles.py to generate the tile set. All these steps work and I have a working tile set of the Moon. But I am not happy with one result: the edges of
 the images, when zoomed in, can easily be seen as darker pixels (for images that overlap).<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">I have tried different values for the --resampling parameter of gdal2tiles.py and the -resolution parameter of gdalbuildvrt with no effect. Am I missing something that could help here? Any suggestions on how can this be addressed?<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">(Also is there a recommended way to attaching images to this list? If I attach a small screen capture to this email what happens?)<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">VR<br></p><p class="qt-MsoNormal">Jose Rodriguez<br></p><p class="qt-MsoNormal"><a href="mailto:jose.m.rodriguez220.ctr@us.navy.mil">jose.m.rodriguez220.ctr@us.navy.mil</a><br></p><p class="qt-MsoNormal"> <br></p></div><div>_______________________________________________<br></div><div>gdal-dev mailing list<br></div><div><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></div><div><br></div></blockquote><div style="font-family:Arial;"><br></div></body></html>