I am in the process of generating a large set of tiles from a .vrt file composed of many images. The image is following a road section, being very long and small strip of images and due the shape of the road the bounding box around it contains a ratio of 80% no data and 20% beign the actually road. This means gdal2tiles takes forever since its looping over all tiles in the boundingbox and not just the area that has data.

Is there any way to tell gdal2tiles to skip those tiles?

Alternative I have split the vtr file into lesser areas but then in the intersection of the two tiles sets that I need to combine after the two sets has tiles defined for the same area with half filled map and nodata and taking either of them causes the map to have big black stripes down in between.

Any suggestions to make this go more smooth?

  • did you ever find an answer? I am making many empty tiles at the moment Nov 11 '19 at 21:16

gdal2tiles -x option will exclude empty tiles.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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