From 7daa8ef85ee1efb60f7d993602f42baaa105ac8f Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 21 六月 2023 16:40:57 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/LasUtils.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ExportMap/cs/LasUtils.cs b/ExportMap/cs/LasUtils.cs
index 09eb78f..dacb29f 100644
--- a/ExportMap/cs/LasUtils.cs
+++ b/ExportMap/cs/LasUtils.cs
@@ -45,8 +45,8 @@
                 List<int> ids = new List<int>();
                 foreach (SysMeta meta in list)
                 {
-                    string osgbPath = Path.Combine(uploadFolder, meta.path);
-                    if (!Directory.Exists(osgbPath)) continue;
+                    string lasPath = Path.Combine(uploadFolder, meta.path);
+                    if (!File.Exists(lasPath)) continue;
 
                     meta.ismeta = 0; // 0-鍊炬枩鎽勫奖鏁版嵁
                     string outPath = GetPath(meta.id);
@@ -56,7 +56,7 @@
                     if (!Directory.Exists(outPath)) Directory.CreateDirectory(outPath);
                     if (File.Exists(jsonFile)) File.Delete(jsonFile);
 
-                    string cmd = string.Format("{0}\\gocesiumtiler.exe -i \"{1}\" -o \"{2}\" -e {3} -z {4} -g -s", tilerPath, osgbPath, outPath, args.srid, args.z);
+                    string cmd = string.Format("{0}\\gocesiumtiler.exe -i \"{1}\" -o \"{2}\" -e {3} -z {4} -g -s", tilerPath, lasPath, outPath, args.srid, args.z);
                     err = Tools.ExecCmd(cmd, false, false);
 
                     if (File.Exists(jsonFile))

--
Gitblit v1.9.3