geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java
private String[] buildWhereArgs(double minX, double minY, double maxX,
                                    double maxY) {

        minX -= tolerance;
        maxX += tolerance;
        minY -= tolerance;
        maxY += tolerance;

        return buildWhereArgs(new Object[]{maxX, maxY, minX, minY});
    }
private String[] buildWhereArgs(double minX, double minY, double maxX,
                                    double maxY) {

        minX -= tolerance;
        maxX += tolerance;
        minY -= tolerance;
        maxY += tolerance;

        return buildWhereArgs(new Object[]{maxX, maxY, minX, minY});
    }
Build where arguments from the bounds to match the order in
{@link #buildWhereArgs(double, double, double, double)}

@param minX min x
@param minY min y
@param maxX max x
@param maxY max y
@return where clause args