GitHubRGI/geopackage-python

Tile matrix height and width are being populated incorrectly

stevendlander opened this issue · 0 comments

tile matrix height and width values in tile_matrix metadata table are being written incorrectly.

These values are being populated based on the tiles that are actually present within the input TMS directory structure. These values should instead be written assuming appropriate transparent tile padding throughout the zoom levels.

This is caused by gdal2tiles.py not creating the padding tiles because it deems it unnecessary. The top zoom level should be the driver behind all subsequent matrix width and height values in tile_matrix.