管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-09-03 3cfb6aa02516135fb174ab1b30620f2007924663
ExportMap/cs/LasUtils.cs
@@ -23,7 +23,7 @@
        /// </summary>
        public static string GetReleaseUrl(string path)
        {
            return "http://{host}/LFData/" + path.Replace("\\", "/");
            return "{host}/LFData/" + path.Replace("\\", "/");
        }
        /// <summary>
@@ -57,7 +57,8 @@
                    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(null, cmd, false);
                    SysTask task = TaskDBHelper.CreateTask(args, meta, "LAS", "点云数据(LAS)");
                    err = Tools.ExecCmd(task, cmd, false);
                    string jsonFile = findTileset(meta, outPath);
                    if ("laz" == meta.type && File.Exists(lasPath)) File.Delete(lasPath);