GeoPackage reader will return an empty image if there are tile matrixes not matched by actual data

Description

However:

  • The specification does not say that they need to, a tile matrix with no tiles into it is valid (the opposite is not true instead, tiles always have to refer a declared tile matrix)

  • GDAL defaults to populate the base zoom level for tiles, but will generate tile matrixes for all upper levels as well

So, this needs fixing. See also this mail exchange:
http://osgeo-org.1560.x6.nabble.com/gdal-dev-Geopackage-raster-and-empty-tile-matrix-td5332666.html

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure