From a7cca6dec7f40eaf680911f2a256233c4d44a504 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 16 三月 2023 15:23:55 +0800 Subject: [PATCH] 1 --- ExportMap/Sources/xyz.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ExportMap/Sources/xyz.py b/ExportMap/Sources/xyz.py index 916f442..571e56d 100644 --- a/ExportMap/Sources/xyz.py +++ b/ExportMap/Sources/xyz.py @@ -31,7 +31,7 @@ parser.add_argument("-file", type=str, default=r"D:\xyz\zy.txt", required=False) parser.add_argument("-out", type=str, default=r"D:\xyz\tiles\zy", required=False) parser.add_argument("-min", type=int, default=12, required=False) - parser.add_argument("-max", type=int, default=18, required=False) + parser.add_argument("-max", type=int, default=15, required=False) return parser.parse_args() @@ -158,6 +158,7 @@ args = get_args() prj = QgsProject.instance() prj.read(os.path.join(args.src, args.qgz)) + # prj.read(args.qgz) print("FileName: " + prj.fileName()) loadLayers(prj, args) -- Gitblit v1.9.3