0

I'm using gdal2tiles on a vrt that I've warped from Mercator to QSC. I'm using the 'raster' profile. The resulting tiles look correct but there transparent strips on the upper and right edges of the right-most and top-most tiles:

enter image description here

The above image shows tiles 1,1,0 and 1,1,1

My call to gdal2tiles looks like this:

gdal2tiles.py --profile=raster -z 0-4 face.tif outFilePath

1 Answer 1

0

This is because gdal2tiles makes tiles of 256x256 pixels. If your original picture isn't a multiple of 256 is width and height, you end up with some empty space on the top and right.

1
  • Hello, I am sorry for the late question. Do you know why there is a black transparent color along with the maps image? can we make it just transparent? I mean with no single color instead? Commented Jul 7, 2021 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.