| | |
| | | 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; |
| | |
| | | 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()); |