geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java
private void adjustGeoPackageBoundsWGS84(BoundingBox boundingBox, int zoom) {
        // Get the fitting tile grid and determine the bounding box that fits it
        TileGrid tileGrid = TileBoundingBoxUtils.getTileGridWGS84(boundingBox, zoom);
        tileGridBoundingBox = TileBoundingBoxUtils.getWGS84BoundingBox(tileGrid, zoom);
        matrixWidth = tileGrid.getMaxX() + 1 - tileGrid.getMinX();
        matrixHeight = tileGrid.getMaxY() + 1 - tileGrid.getMinY();
    }
private void adjustGeoPackageBoundsWGS84(BoundingBox boundingBox, int zoom) {
        // Get the fitting tile grid and determine the bounding box that fits it
        TileGrid tileGrid = TileBoundingBoxUtils.getTileGridWGS84(boundingBox, zoom);
        tileGridBoundingBox = TileBoundingBoxUtils.getWGS84BoundingBox(tileGrid, zoom);
        matrixWidth = tileGrid.getMaxX() + 1 - tileGrid.getMinX();
        matrixHeight = tileGrid.getMaxY() + 1 - tileGrid.getMinY();
    }
private void adjustGeoPackageBoundsWGS84 ( BoundingBox boundingBox , int zoom ) { // Get the fitting tile grid and determine the bounding box that fits it TileGrid tileGrid = TileBoundingBoxUtils . getTileGridWGS84 ( boundingBox , zoom ) ; tileGridBoundingBox = TileBoundingBoxUtils . getWGS84BoundingBox ( tileGrid , zoom ) ; matrixWidth = tileGrid . getMaxX ( ) + 1 - tileGrid . getMinX ( ) ; matrixHeight = tileGrid . getMaxY ( ) + 1 - tileGrid . getMinY ( ) ; }
Adjust the tile matrix set and WGS84 bounds for GeoPackage format.
Determine the tile grid width and height

@param boundingBox
@param zoom
Adjust the tile matrix set and WGS84 bounds for GeoPackage format . Determine the tile grid width and height