dcb
2025-07-09 e53252b99e7b49b435b7a6ee3eab21ae1bd7a055
src/main/java/com/se/nsl/utils/SolverTifUtil.java
@@ -60,7 +60,7 @@
        return readPixelValue(cr.dataset, cr.col, cr.row, band);
    }
    private static ColumnRow getColumnRow(File tifFile, double x, double y) {
    public static ColumnRow getColumnRow(File tifFile, double x, double y) {
        Dataset dataset = gdal.Open(tifFile.getAbsolutePath(), gdalconstConstants.GA_ReadOnly);
        // 获取地理变换参数(6元素数组)
        // [0]: 左上角X坐标, [1]: 像元宽度, [2]: X方向旋转,