From e53252b99e7b49b435b7a6ee3eab21ae1bd7a055 Mon Sep 17 00:00:00 2001 From: dcb <xgybdcb@163.com> Date: 星期三, 09 七月 2025 16:11:40 +0800 Subject: [PATCH] 断面分析功能实现 --- src/main/java/com/se/nsl/utils/SolverTifUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/se/nsl/utils/SolverTifUtil.java b/src/main/java/com/se/nsl/utils/SolverTifUtil.java index f9f4adc..0179bca 100644 --- a/src/main/java/com/se/nsl/utils/SolverTifUtil.java +++ b/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]: 宸︿笂瑙扻鍧愭爣, [1]: 鍍忓厓瀹藉害, [2]: X鏂瑰悜鏃嬭浆, -- Gitblit v1.9.3