feiyu02
2025-10-21 eb3dd00b0b7fcda477229d518d250f9c842b790b
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)
    }
}