ExportMap/cs/ExportUtil.cs
@@ -24,6 +24,27 @@ } } private static string sourcesPath; public string GetSourcesPath { get { if (string.IsNullOrEmpty(sourcesPath)) { sourcesPath = Path.Combine(BaseDir, "Sources"); } return sourcesPath; } } /// <summary> /// 执行Python /// </summary> /// <param name="py">Python文件</param> /// <param name="qgz">QGIS工程</param> /// <param name="qpt">QGIS模板</param> public static void ExecPython(string py, string qgz, string qpt) { try