| | |
| | | private void createShps(String basePath, List<GeLayer> layers) throws Exception { |
| | | for (GeLayer layer : layers) { |
| | | String path = basePath + File.separator + layer.getShpName(); |
| | | if (!ShpHelper.createShp(path, layer)) { |
| | | if (layer.getData().isEmpty() || !ShpHelper.createShp(path, layer)) { |
| | | throw new Exception(layer.getName() + ",创建ShapeFile文件失败!"); |
| | | } |
| | | } |
| | |
| | | uwService.callExe(data); |
| | | |
| | | update(simu, 7, null); |
| | | uwService.copeWaterFiles(); |
| | | //uwService.copeWaterFiles(); |
| | | |
| | | update(simu, 8, null); |
| | | uwService.copeDrainFiles(); |