GeoPackage tile matrix set extents not set correctly

Description

When generating a GeoPackage via WPS the extent (i.e. minx, miny, maxx, maxy) for the tile matrix set(s) stored in the gpkg_tile_matrix_set table of the resulting GeoPackage are set to the bbox supplied in the request instead of the actual extent of the tile matrix set. The result is that when the requested bbox is smaller (or different) than the tile matrix set extent the tile coordinates are offset and hence the tiles are offset when the GeoPackage is consumed by something like QGIS.

Environment

None

Assignee

Unassigned

Reporter

Steven Johnson

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure