From 101b8bc99c8eefd7e1ae43c9a99f3e42318c87ad Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 20 九月 2023 13:50:25 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/PyLasUtils.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ExportMap/cs/PyLasUtils.cs b/ExportMap/cs/PyLasUtils.cs
index 95fbc34..8ba8eab 100644
--- a/ExportMap/cs/PyLasUtils.cs
+++ b/ExportMap/cs/PyLasUtils.cs
@@ -110,18 +110,18 @@
         /// <summary>
         /// 鍧愭爣杞崲
         /// </summary>
-        public static string CsTransform(string epsg, double x, double y, double z = 0)
+        public static void CsTransform(string epsg, double x, double y, double z = 0)
         {
             List<string> cmds = new List<string>();
 
             string gdalPath = Tools.GetSetting("gdalPath");
             cmds.Add(string.Format("\"{0}\\gdaltransform.exe\" -s_srs EPSG:{1} -t_srs EPSG:4326", gdalPath, epsg.Replace("EPSG:", "")));
-            cmds.Add(string.Format("{0} {1} {2}\n", x, y, z));
+            cmds.Add(string.Format("echo {0} {1} {2}", x, y, z));
 
             string rs = null;
-            rs =Tools.ExecCmd(cmds);
+            string str = Tools.ExecCmd(cmds, ref rs);
 
-            return rs;
+            //return rs;
         }
     }
 }

--
Gitblit v1.9.3