using ExportMap.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace ExportMap.cs { public class XYZUtil { private static string pyFile; /// /// 获取Python文件 /// public static string PyFile { get { if (string.IsNullOrWhiteSpace(pyFile)) { pyFile = Path.Combine(ExportUtil.SourcesPath, "xyz.py"); } return pyFile; } } /// /// QGIS工程 /// public string Qgz { get { return "xyz.qgz"; } } /// /// 生成 /// /// 出图参数 /// 错误信息 /// 图片路径 public static string Generate(XYZArgs args, ref string err) { string date = ExportUtil.DateStr; return null; } } }