1
13693261870
2024-10-09 1bc22056398708491721f7603d7cebe85e5a81f7
1
已修改2个文件
15 ■■■■■ 文件已修改
src/main/java/com/se/simu/service/GedbService.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/se/simu/service/GedbService.java
@@ -1,6 +1,5 @@
package com.se.simu.service;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
@@ -233,17 +232,21 @@
        List<String> bsm = getValues(point, "bsm");
        List<String> bsm2 = new ArrayList<>(bsm);
        List<String> qdbsm = getValues(line, "qdbsm");
        List<String> qdbsm2 = new ArrayList<>(qdbsm);
        List<String> zdbsm = getValues(line, "zdbsm");
        List<String> zdbsm2 = new ArrayList<>(zdbsm);
        bsm.removeAll(qdbsm);
        bsm.removeAll(zdbsm);
        qdbsm.removeAll(bsm2);
        zdbsm.removeAll(bsm2);
        removeValues(point, "bsm", bsm);
        removeValues(line, "qdbsm", qdbsm);
        removeValues(line, "zdbsm", zdbsm);
        qdbsm = getValues(line, "qdbsm");
        zdbsm = getValues(line, "zdbsm");
        bsm.removeAll(qdbsm);
        bsm.removeAll(zdbsm);
        removeValues(point, "bsm", bsm);
        GeLayer juncLayer = new GeLayer(point, filterLayerData(point.getData()));
        juncLayer.setName("集水点");
        juncLayer.setShpName(config.getJunctionName());
src/main/resources/application.yml
@@ -115,7 +115,7 @@
  demFile: DEM.tif
  zoneName: studyzone.shp
  barrierName: barrier.shp
  sysFields: _ext_attr,_meta_id,_attach_files,_x,_y,_z,_is_latest,_data_type,operatetime,operator,groupid,shape_length,shape_area
  sysFields: _ext_attr,_meta_id,_attach_files,_x,_y,_z,_is_latest,_data_type,operatetime,operator,shape_length,shape_area
  raingage: RainGage.dat
  rainStation: Tongzhou
  rainPeriod: 10