管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-08-03 ced7c4ad08456544e9807907d21683f3ceeff0dc
ExportMap/cs/LasUtils.cs
@@ -57,7 +57,7 @@
                    int idx = args.ids.IndexOf(meta.id);
                    string cmd = string.Format("{0}\\gocesiumtiler.exe -i \"{1}\" -o \"{2}\" -e {3} -z {4} -g -s", tilerPath, lasPath, outPath, args.srids[idx], args.zs[idx]);
                    err = Tools.ExecCmd(cmd, false, false);
                    err = Tools.ExecCmd(null, cmd, false, false);
                    string jsonFile = findTileset(meta, outPath);
                    if ("laz" == meta.type && File.Exists(lasPath)) File.Delete(lasPath);
@@ -88,7 +88,7 @@
            string tilerPath = Tools.GetSetting("tilerPath");
            string cmd = string.Format("{0}\\laszip64.exe -i \"{1}\" -o \"{2}\"", tilerPath, lazPath, lasPath);
            Tools.ExecCmd(cmd, false, false);
            Tools.ExecCmd(new List<string> { cmd });
            return lasPath;
        }