From d649f734c44541641158aec2d6b10d630f5a0827 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 25 十二月 2025 17:25:16 +0800
Subject: [PATCH] 2025.12.19 1. 动态溯源相关分析逻辑调整; 2. 走航报告接口参数调整;

---
 src/test/kotlin/com/flightfeather/uav/Test.kt |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 63b2781..9da42dc 100644
--- a/src/test/kotlin/com/flightfeather/uav/Test.kt
+++ b/src/test/kotlin/com/flightfeather/uav/Test.kt
@@ -16,6 +16,7 @@
 import java.io.OutputStreamWriter
 import java.text.SimpleDateFormat
 import java.util.*
+import kotlin.math.round
 
 /**
  * @author riku
@@ -202,7 +203,17 @@
 
     @Test
     fun reGeo() {
-        val a = AMapService.reGeo(MapUtil.wgs84ToGcj02(121.45017 to 31.274426))
-        println(a)
+        val a = 0.7000000000000001
+        println(round(a * 100))
+    }
+
+    @Test
+    fun foo20() {
+        val res = AMapService.polyLineJingAn.split(";")
+            .map { it.split(",")}
+            .map { MapUtil.gcj02ToWgs84(Pair(it[0].toDouble(), it[1].toDouble())) }
+            .map { "${it.first},${it.second}" }
+            .joinToString(";")
+        println(res)
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3