feiyu02
2025-12-25 d649f734c44541641158aec2d6b10d630f5a0827
src/main/kotlin/com/flightfeather/uav/biz/report/MissionRiskArea.kt
@@ -3,7 +3,6 @@
import com.flightfeather.uav.biz.sourcetrace.model.PollutedClue
import com.flightfeather.uav.common.utils.MapUtil
import com.flightfeather.uav.domain.entity.SceneInfo
import com.flightfeather.uav.domain.entity.avg
import com.flightfeather.uav.socket.eunm.AggregatedFactorType
import com.flightfeather.uav.socket.eunm.FactorType
@@ -57,7 +56,7 @@
        pollutedClues.forEach { pollutedClue ->
            if (pollutedClue == null) return@forEach
            // 计算单个PollutedClue的均值经纬度
            val wgs84Center = pollutedClue.pollutedData?.getExceptionCenter() ?: return@forEach
            val wgs84Center = pollutedClue.pollutedData?.exceptionCenter() ?: return@forEach
            // 坐标转换
            val gcj02Point = MapUtil.wgs84ToGcj02(wgs84Center)