geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java
public Cursor query(long geoPackageId, String tableName, BoundingBox boundingBox) {
        GeometryEnvelope envelope = new GeometryEnvelope();
        envelope.setMinX(boundingBox.getMinLongitude());
        envelope.setMaxX(boundingBox.getMaxLongitude());
        envelope.setMinY(boundingBox.getMinLatitude());
        envelope.setMaxY(boundingBox.getMaxLatitude());
        return query(geoPackageId, tableName, envelope);
    }
public Cursor query(long geoPackageId, String tableName, BoundingBox boundingBox) {
        GeometryEnvelope envelope = new GeometryEnvelope();
        envelope.setMinX(boundingBox.getMinLongitude());
        envelope.setMaxX(boundingBox.getMaxLongitude());
        envelope.setMinY(boundingBox.getMinLatitude());
        envelope.setMaxY(boundingBox.getMaxLatitude());
        return query(geoPackageId, tableName, envelope);
    }
Query for all table geometry metadata matching the bounding box in the same projection

@param geoPackageId GeoPackage id
@param tableName    table name
@param boundingBox  bounding box
@return cursor that must be closed