| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(string path) |
| | | { |
| | | return "http://{host}/LFData/" + path.Replace("\\", "/"); |
| | | return "{host}/LFData/" + path.Replace("\\", "/"); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | 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); |