diff --git a/src/main/java/com/gis/xian/config/QgisProperties.java b/src/main/java/com/gis/xian/config/QgisProperties.java new file mode 100644 index 0000000..f3c8096 --- /dev/null +++ b/src/main/java/com/gis/xian/config/QgisProperties.java @@ -0,0 +1,53 @@ +package com.gis.xian.config; + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +/** + * @author zzw + * @description: QGIS制图服务配置属性 + * @date 2026/6/3 + */ +@Data +@Component +@ConfigurationProperties(prefix = "qgis") +public class QgisProperties { + + /** + * QGIS服务URL + */ + private String url; + + /** + * QGIS基础路径 + */ + private String basePath; + + /** + * 地震专题图模板路径 + */ + private String eqMapsTemplatePath; + + /** + * 暴雨专题图模板路径 + */ + private String rainMapsTemplatePath; + + /** + * 影响场GeoJSON保存路径 + */ + private String intensityGeojsonPath; + + /** + * 地震专题图输出路径 + */ + private String eqMapsOutputPath; + + /** + * 暴雨专题图输出路径 + */ + private String rainMapsOutputPath; + + +} diff --git a/src/main/java/com/gis/xian/constant/BaseConstants.java b/src/main/java/com/gis/xian/constant/BaseConstants.java index 0c51346..eccb810 100644 --- a/src/main/java/com/gis/xian/constant/BaseConstants.java +++ b/src/main/java/com/gis/xian/constant/BaseConstants.java @@ -13,16 +13,10 @@ public class BaseConstants { // url - public static final String EQ_MAPS_TEMPLATE_PATH = "D:/home/dzxx/maps/eq/"; // 地震专题图模板路径 - public static final String RAIN_MAPS_TEMPLATE_PATH = "D:/home/dzxx/maps/rain/"; // 暴雨专题图模板路径 - public static final String INTENSITY_GEOJSON_PATH = "D:/home/dzxx/output/influence/"; // 影响场保存路径 - public static final String EQ_MAPS_OUTPUT_PATH = "D:/home/dzxx/output/eq/map/"; // 地震专题图文件输出路径 - public static final String RAIN_MAPS_OUTPUT_PATH = "D:/home/dzxx/output/rain/map/"; // 暴雨专题图文件输出路径 - public static final String EQ_DOCUMENT_OUTPUT_PATH = "D:/home/dzxx/output/eq/地震应急预评估报告.docx"; // 地震评估报告文件输出路径 - public static final String RAIN_DOCUMENT_OUTPUT_PATH = "D:/home/dzxx/output/rain/暴雨应急预评估报告.docx"; // 暴雨评估报告文件输出路径 + public static final String RAIN_MAPS_TEMPLATE_PATH = "F:/files/xian/dzxx/maps/rain/"; // 暴雨专题图模板路径 + public static final String RAIN_MAPS_OUTPUT_PATH = "F:/files/xian/dzxx/output/rain/map/"; // 暴雨专题图文件输出路径 + public static final String RAIN_DOCUMENT_OUTPUT_PATH = "F:/files/xian/dzxx/output/rain/暴雨应急预评估报告.docx"; // 暴雨评估报告文件输出路径 - // ip - public static final String HTTP_QGIS_THEMATIC = "http://localhost:18998/qgis/make/map"; // 专题图 // 提示语 public static final String PARAMS_ERROR = "参数有误,请重新传入!"; diff --git a/src/main/java/com/gis/xian/core/rabbitmq/DlqConsumer.java b/src/main/java/com/gis/xian/core/rabbitmq/DlqConsumer.java index 601153a..b3df258 100644 --- a/src/main/java/com/gis/xian/core/rabbitmq/DlqConsumer.java +++ b/src/main/java/com/gis/xian/core/rabbitmq/DlqConsumer.java @@ -1,7 +1,8 @@ package com.gis.xian.core.rabbitmq; import com.alibaba.fastjson2.JSON; -import com.gis.xian.bo.DlqMessage; +import com.gis.xian.config.QgisProperties; +import com.gis.xian.domain.DlqMessage; import com.gis.xian.constant.BaseConstants; import com.gis.xian.enums.BaseEnums; import com.gis.xian.params.QgisArgs; @@ -29,8 +30,10 @@ public class DlqConsumer { private HttpRestClient restclient; @Resource private RabbitTemplate rabbitTemplate; - @Autowired + @Resource private IDZEqQueueService idzEqQueueService; + @Resource + private QgisProperties qgisProperties; // 最大重试次数 private int maxRetry = 3; @@ -56,7 +59,7 @@ public class DlqConsumer { // 重试处理逻辑(复用原invoke的核心逻辑) ParameterizedTypeReference res = new ParameterizedTypeReference() { }; - String mapName = restclient.post(BaseConstants.HTTP_QGIS_THEMATIC, JSON.toJSON(arg), res); + String mapName = restclient.post(qgisProperties.getUrl(), JSON.toJSON(arg), res); if (mapName == null || mapName.equals("")) { throw new Exception("重试后产出图件仍失败"); diff --git a/src/main/java/com/gis/xian/core/rabbitmq/DlqOperate.java b/src/main/java/com/gis/xian/core/rabbitmq/DlqOperate.java index 4cbc441..4acfc79 100644 --- a/src/main/java/com/gis/xian/core/rabbitmq/DlqOperate.java +++ b/src/main/java/com/gis/xian/core/rabbitmq/DlqOperate.java @@ -1,6 +1,6 @@ package com.gis.xian.core.rabbitmq; -import com.gis.xian.bo.DlqMessage; +import com.gis.xian.domain.DlqMessage; import com.gis.xian.constant.BaseConstants; import com.gis.xian.params.QgisArgs; import jakarta.annotation.Resource; diff --git a/src/main/java/com/gis/xian/bo/DlqMessage.java b/src/main/java/com/gis/xian/domain/DlqMessage.java similarity index 93% rename from src/main/java/com/gis/xian/bo/DlqMessage.java rename to src/main/java/com/gis/xian/domain/DlqMessage.java index 9f2b98e..beb2a97 100644 --- a/src/main/java/com/gis/xian/bo/DlqMessage.java +++ b/src/main/java/com/gis/xian/domain/DlqMessage.java @@ -1,4 +1,4 @@ -package com.gis.xian.bo; +package com.gis.xian.domain; import com.gis.xian.params.QgisArgs; import lombok.Builder; diff --git a/src/main/java/com/gis/xian/handler/EarthquakeHandler.java b/src/main/java/com/gis/xian/handler/EarthquakeHandler.java index 5f0e071..01e5cc2 100644 --- a/src/main/java/com/gis/xian/handler/EarthquakeHandler.java +++ b/src/main/java/com/gis/xian/handler/EarthquakeHandler.java @@ -1,9 +1,12 @@ package com.gis.xian.handler; +import com.gis.xian.config.QgisProperties; import com.gis.xian.constant.BaseConstants; import com.gis.xian.enums.EqMapsEnums; import com.gis.xian.enums.RainMapsEnums; import com.gis.xian.utils.BaseUtils; +import jakarta.annotation.Resource; +import org.springframework.stereotype.Component; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; @@ -13,8 +16,11 @@ import java.time.format.DateTimeFormatter; * @description: 地震烈度核心服务 * @date 2026/5/26 上午10:47 */ +@Component public class EarthquakeHandler { + @Resource + private QgisProperties qgisProperties; /** * 获取不同烈度下的面积 @@ -23,7 +29,7 @@ public class EarthquakeHandler { * @param b 短轴 * @return 返回椭圆的面积 */ - public static double calculateArea(double a, double b) { + public double calculateArea(double a, double b) { return Math.PI * a * b; } @@ -35,7 +41,7 @@ public class EarthquakeHandler { * @description: 计算椭圆的长轴 * @return: 返回长轴 */ - public static double calculateRa(double M, double Ia) { + public double calculateRa(double M, double Ia) { return (Math.pow(10, (4.0293 + 1.3003 * M - Ia) / 3.6404) - 10) * 1000; } @@ -47,25 +53,25 @@ public class EarthquakeHandler { * @description: 计算椭圆的短轴 * @return: 返回短轴 */ - public static double calculateRb(double M, double Ib) { + public double calculateRb(double M, double Ib) { return (Math.pow(10, (2.3816 + 1.3003 * M - Ib) / 2.8573) - 5) * 1000; } // 格式化地震三要素信息 - public static String parseInfo(LocalDateTime eqTime, double magnitude, String addr) { + public String parseInfo(LocalDateTime eqTime, double magnitude, String addr) { String time = BaseUtils.formatTime(eqTime, true); return String.format("时间:%s\r\n震级:%s级\r\n位置:%s", time, magnitude, addr); } // 格式化暴雨三要素信息 - public static String parseRInfo(LocalDateTime eqTime, String magnitude, String addr) { + public String parseRInfo(LocalDateTime eqTime, String magnitude, String addr) { String time = BaseUtils.formatTime(eqTime, true); return String.format("时间:%s\r\n累计降雨量:%s毫米\r\n已持续:%s小时", time, magnitude, addr); } // 拼接地震图件标题 - public static String combine(String eqName, String eqType, EqMapsEnums map) { + public String combine(String eqName, String eqType, EqMapsEnums map) { // 地点 + 震级 String name = eqName; // 图名称 + 地震类型 @@ -74,7 +80,7 @@ public class EarthquakeHandler { } // 拼接暴雨图件标题 - public static String combineR(String rainName, String rainType, RainMapsEnums map) { + public String combineR(String rainName, String rainType, RainMapsEnums map) { // 地点 + 暴雨名称 String name = rainName; // 图名称 + 暴雨类型 @@ -83,28 +89,28 @@ public class EarthquakeHandler { } // 拼接导出路径 - public static String getPath(String event, String queueId, String size, EqMapsEnums map) { + public String getPath(String event, String queueId, String size, EqMapsEnums map) { // 地震事件 + 批次 String batch = queueId.substring(event.length()); String path = event + "/" + batch + "/" + size + "/" + map.getName(); - return String.format("%s", BaseConstants.EQ_MAPS_OUTPUT_PATH + path + ".jpg"); + return String.format("%s", qgisProperties.getBasePath() + qgisProperties.getEqMapsOutputPath() + path + ".jpg"); } // 拼接导出路径 - public static String getRPath(String rainId, String queueId, String size, RainMapsEnums map) { + public String getRPath(String rainId, String queueId, String size, RainMapsEnums map) { // 地震事件 + 批次 String batch = queueId.substring(rainId.length()); String path = rainId + "/" + batch + "/" + size + "/" + map.getName(); return String.format("%s", BaseConstants.RAIN_MAPS_OUTPUT_PATH + path + ".jpg"); } - public static String format(LocalDateTime time) { + public String format(LocalDateTime time) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MM月dd日HH时mm分"); String timestamp = time.format(formatter); return timestamp; } - public static String formatTime(LocalDateTime time) { + public String formatTime(LocalDateTime time) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MM月dd日HH时mm分"); String timestamp = time.format(formatter); return timestamp; diff --git a/src/main/java/com/gis/xian/handler/GeoFilesHandler.java b/src/main/java/com/gis/xian/handler/GeoFilesHandler.java index 2bc07ca..f898571 100644 --- a/src/main/java/com/gis/xian/handler/GeoFilesHandler.java +++ b/src/main/java/com/gis/xian/handler/GeoFilesHandler.java @@ -1,9 +1,11 @@ package com.gis.xian.handler; import com.fasterxml.jackson.databind.ObjectMapper; +import com.gis.xian.config.QgisProperties; import com.gis.xian.constant.BaseConstants; import com.gis.xian.dto.dzxx.DZXXInfluenceDTO; import com.gis.xian.dto.pub.IntyGeoJsonDTO; +import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.locationtech.jts.geom.CoordinateSequence; import org.locationtech.jts.geom.GeometryFactory; @@ -29,6 +31,9 @@ import java.util.List; @Component public class GeoFilesHandler { + @Resource + private QgisProperties qgisProperties; + private static final GeometryFactory GEOMETRY_FACTORY = new GeometryFactory(); private static final WKTReader WKT_READER = new WKTReader(GEOMETRY_FACTORY); private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); @@ -37,7 +42,7 @@ public class GeoFilesHandler { // 序列化 String geoJsonStr = OBJECT_MAPPER.writerWithDefaultPrettyPrinter().writeValueAsString(featureCollection); // geojson文件路径 - String path = BaseConstants.INTENSITY_GEOJSON_PATH + fileName + ".geojson"; + String path = qgisProperties.getBasePath() + qgisProperties.getIntensityGeojsonPath() + fileName + ".geojson"; // 创建文件目录 File file = new File(path); File parentDir = file.getParentFile(); diff --git a/src/main/java/com/gis/xian/service/dzxx/impl/DZXXInfluenceServiceImpl.java b/src/main/java/com/gis/xian/service/dzxx/impl/DZXXInfluenceServiceImpl.java index a609a62..157f680 100644 --- a/src/main/java/com/gis/xian/service/dzxx/impl/DZXXInfluenceServiceImpl.java +++ b/src/main/java/com/gis/xian/service/dzxx/impl/DZXXInfluenceServiceImpl.java @@ -19,6 +19,7 @@ import com.gis.xian.service.dzxx.IDZXXInfluenceService; import com.gis.xian.service.ex.ParmaException; import com.gis.xian.service.ex.ServiceException; import com.gis.xian.service.pub.IDZInfluenceService; +import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.locationtech.jts.geom.Polygon; import org.springframework.beans.BeanUtils; @@ -45,6 +46,8 @@ public class DZXXInfluenceServiceImpl extends ServiceImpl implements IDZInfluenceService { - @Autowired + @Resource private GeoFilesHandler handler; + @Resource + private QgisProperties qgisProperties; // 将影响场以文件形式保存 @@ -76,7 +80,7 @@ public class DZInfluenceServiceImpl extends ServiceImpl res = new ParameterizedTypeReference() { }; // 制图 - String mapName = restclient.post(BaseConstants.HTTP_QGIS_THEMATIC, JSON.toJSON(arg), res); + String mapName = restclient.post(qgisProperties.getUrl(), JSON.toJSON(arg), res); // 专题图名称 if (mapName == null || mapName.equals("")) { log.error("产出图件失败!"); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 3e0c421..5977746 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -5,7 +5,10 @@ server: # 开发环境配置 spring: config: - import: classpath:config/database/application-database-dev.yml + import: + - classpath:config/database/application-database-dev.yml + - classpath:config/qgis/application-qgis-dev.yml + - classpath:config/customize/application-customize-dev.yml # redis diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index ae5c61f..71c2af4 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -5,7 +5,10 @@ server: # 生产环境配置 spring: config: - import: classpath:config/database/application-database-prod.yml + import: + - classpath:config/database/application-database-prod.yml + - classpath:config/qgis/application-qgis-prod.yml + - classpath:config/customize/application-customize-prod.yml # redis data: diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7f58e32..dc6cdec 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,8 +5,8 @@ spring: config: import: classpath:config/redis/redis-key.yml -# MyBatis 配置 -mybatis: +# MyBatis-plus 配置 +mybatis-plus: mapper-locations: classpath:com/gis/xian/mapper/*.xml type-aliases-package: com.gis.xian.entity configuration: diff --git a/src/main/resources/config/customize/application-customize-dev.yml b/src/main/resources/config/customize/application-customize-dev.yml new file mode 100644 index 0000000..f4b6b4b --- /dev/null +++ b/src/main/resources/config/customize/application-customize-dev.yml @@ -0,0 +1,8 @@ +# qgis配置 +qgis: + # 地震专题图模板路径 + eq-maps-template-path: D:/代码/xian_api_new/src/main/resources/template/qgis-template/eq/ + # 暴雨专题图模板路径 + rain-maps-template-path: D:/代码/xian_api_new/src/main/resources/template/qgis-template/rain/ + # QGIS基础路径 + base-path: F:/files/xian/maps/ diff --git a/src/main/resources/config/customize/application-customize-prod.yml b/src/main/resources/config/customize/application-customize-prod.yml new file mode 100644 index 0000000..f4b6b4b --- /dev/null +++ b/src/main/resources/config/customize/application-customize-prod.yml @@ -0,0 +1,8 @@ +# qgis配置 +qgis: + # 地震专题图模板路径 + eq-maps-template-path: D:/代码/xian_api_new/src/main/resources/template/qgis-template/eq/ + # 暴雨专题图模板路径 + rain-maps-template-path: D:/代码/xian_api_new/src/main/resources/template/qgis-template/rain/ + # QGIS基础路径 + base-path: F:/files/xian/maps/ diff --git a/src/main/resources/config/database/application-database-dev.yml b/src/main/resources/config/database/application-database-dev.yml index 1bbbaa7..e593c88 100644 --- a/src/main/resources/config/database/application-database-dev.yml +++ b/src/main/resources/config/database/application-database-dev.yml @@ -38,7 +38,7 @@ spring: driver-class-name: org.postgresql.Driver slave1: - url: jdbc:postgresql://localhost:5432/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true + url: jdbc:postgresql://47.92.216.173:7654/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true username: postgres - password: Zzw.0401 + password: zhangsan driver-class-name: org.postgresql.Driver diff --git a/src/main/resources/config/database/application-database-prod.yml b/src/main/resources/config/database/application-database-prod.yml index bdc9c4b..3385672 100644 --- a/src/main/resources/config/database/application-database-prod.yml +++ b/src/main/resources/config/database/application-database-prod.yml @@ -35,7 +35,7 @@ spring: driver-class-name: org.postgresql.Driver slave1: - url: jdbc:postgresql://localhost:5432/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true + url: jdbc:postgresql://47.92.216.173:7654/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true username: postgres - password: Zzw.0401 + password: zhangsan driver-class-name: org.postgresql.Driver diff --git a/src/main/resources/config/qgis/application-qgis-dev.yml b/src/main/resources/config/qgis/application-qgis-dev.yml new file mode 100644 index 0000000..95d09ee --- /dev/null +++ b/src/main/resources/config/qgis/application-qgis-dev.yml @@ -0,0 +1,10 @@ +# qgis配置 +qgis: + # QGIS服务地址 + url: http://localhost:18998/qgis/make/map + # 影响场GeoJSON保存路径 + intensity-geojson-path: influence/ + # 地震专题图文件输出路径 + eq-maps-output-path: output/eq/map/ + # 暴雨专题图文件输出路径 + rain-maps-output-path: output/rain/map/ diff --git a/src/main/resources/config/qgis/application-qgis-prod.yml b/src/main/resources/config/qgis/application-qgis-prod.yml new file mode 100644 index 0000000..95d09ee --- /dev/null +++ b/src/main/resources/config/qgis/application-qgis-prod.yml @@ -0,0 +1,10 @@ +# qgis配置 +qgis: + # QGIS服务地址 + url: http://localhost:18998/qgis/make/map + # 影响场GeoJSON保存路径 + intensity-geojson-path: influence/ + # 地震专题图文件输出路径 + eq-maps-output-path: output/eq/map/ + # 暴雨专题图文件输出路径 + rain-maps-output-path: output/rain/map/ diff --git a/src/main/resources/template/qgis-template/eq/地震影响估计范围分布图.qgz b/src/main/resources/template/qgis-template/eq/地震影响估计范围分布图.qgz new file mode 100644 index 0000000..dbde8b2 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/地震影响估计范围分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震中与乡镇距离图.qgz b/src/main/resources/template/qgis-template/eq/震中与乡镇距离图.qgz new file mode 100644 index 0000000..d50abae Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震中与乡镇距离图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震中地形图.qgz b/src/main/resources/template/qgis-template/eq/震中地形图.qgz new file mode 100644 index 0000000..176539e Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震中地形图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震中附近救援队伍分布图.qgz b/src/main/resources/template/qgis-template/eq/震中附近救援队伍分布图.qgz new file mode 100644 index 0000000..a434272 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震中附近救援队伍分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震中附近活动断裂分布图.qgz b/src/main/resources/template/qgis-template/eq/震中附近活动断裂分布图.qgz new file mode 100644 index 0000000..0e882b3 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震中附近活动断裂分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震中附近风险区分布图.qgz b/src/main/resources/template/qgis-template/eq/震中附近风险区分布图.qgz new file mode 100644 index 0000000..552a9a4 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震中附近风险区分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区交通图.qgz b/src/main/resources/template/qgis-template/eq/震区交通图.qgz new file mode 100644 index 0000000..c754eb9 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区交通图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区医院分布图.qgz b/src/main/resources/template/qgis-template/eq/震区医院分布图.qgz new file mode 100644 index 0000000..9c13b34 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区医院分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区危险源分布图.qgz b/src/main/resources/template/qgis-template/eq/震区危险源分布图.qgz new file mode 100644 index 0000000..bfaa496 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区危险源分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区学校分布图.qgz b/src/main/resources/template/qgis-template/eq/震区学校分布图.qgz new file mode 100644 index 0000000..3c7d0db Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区学校分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区潜在地质灾害分布图.qgz b/src/main/resources/template/qgis-template/eq/震区潜在地质灾害分布图.qgz new file mode 100644 index 0000000..8086ac7 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区潜在地质灾害分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近人口分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近人口分布图.qgz new file mode 100644 index 0000000..549e0f2 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近人口分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近公共场所分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近公共场所分布图.qgz new file mode 100644 index 0000000..404e399 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近公共场所分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近农作物分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近农作物分布图.qgz new file mode 100644 index 0000000..e22d0ef Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近农作物分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近救援物资分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近救援物资分布图.qgz new file mode 100644 index 0000000..1c3b027 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近救援物资分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近景区分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近景区分布图.qgz new file mode 100644 index 0000000..82ac20e Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近景区分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近水库分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近水库分布图.qgz new file mode 100644 index 0000000..cfb2914 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近水库分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近疏散场地分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近疏散场地分布图.qgz new file mode 100644 index 0000000..5b7fcc4 Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近疏散场地分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/eq/震区附近重要目标分布图.qgz b/src/main/resources/template/qgis-template/eq/震区附近重要目标分布图.qgz new file mode 100644 index 0000000..c63fbab Binary files /dev/null and b/src/main/resources/template/qgis-template/eq/震区附近重要目标分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及人口分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及人口分布图.qgz new file mode 100644 index 0000000..731bff8 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及人口分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及农作物分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及农作物分布图.qgz new file mode 100644 index 0000000..602eea3 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨内涝潜在隐患点及农作物分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨地灾风险区分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨地灾风险区分布图.qgz new file mode 100644 index 0000000..17a6ef1 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨地灾风险区分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨城市生命线工程分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨城市生命线工程分布图.qgz new file mode 100644 index 0000000..392ab46 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨城市生命线工程分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及人口分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及人口分布图.qgz new file mode 100644 index 0000000..8ace66a Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及人口分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及农作物分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及农作物分布图.qgz new file mode 100644 index 0000000..f50bb29 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨山洪潜在隐患点及农作物分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨救援队伍分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨救援队伍分布图.qgz new file mode 100644 index 0000000..9874035 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨救援队伍分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及人口分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及人口分布图.qgz new file mode 100644 index 0000000..56c78c4 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及人口分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及农作物分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及农作物分布图.qgz new file mode 100644 index 0000000..39ec368 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨泥石流潜在隐患点及农作物分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及人口分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及人口分布图.qgz new file mode 100644 index 0000000..3ec668b Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及人口分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及农作物分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及农作物分布图.qgz new file mode 100644 index 0000000..7edea21 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨滑坡潜在隐患点及农作物分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨避难场所分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨避难场所分布图.qgz new file mode 100644 index 0000000..dfb1f20 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨避难场所分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨防汛物资分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨防汛物资分布图.qgz new file mode 100644 index 0000000..ca7dbc4 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨防汛物资分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨附近医院分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨附近医院分布图.qgz new file mode 100644 index 0000000..17d5389 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨附近医院分布图.qgz differ diff --git a/src/main/resources/template/qgis-template/rain/暴雨附近水库分布图.qgz b/src/main/resources/template/qgis-template/rain/暴雨附近水库分布图.qgz new file mode 100644 index 0000000..347d5f3 Binary files /dev/null and b/src/main/resources/template/qgis-template/rain/暴雨附近水库分布图.qgz differ