From e923f06d572c9a0e3b1eb2c54471af02c9d95bcf Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 18 十二月 2025 10:05:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/test/kotlin/com/flightfeather/uav/Test.kt | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 63b2781..2ca32f5 100644
--- a/src/test/kotlin/com/flightfeather/uav/Test.kt
+++ b/src/test/kotlin/com/flightfeather/uav/Test.kt
@@ -205,4 +205,14 @@
val a = AMapService.reGeo(MapUtil.wgs84ToGcj02(121.45017 to 31.274426))
println(a)
}
+
+ @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