From 3a8b007edbf8e45f39d55c3fca373a076d419467 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 10 三月 2023 15:25:33 +0800
Subject: [PATCH] 1

---
 ExportMap/Sources/xyz.py |    1 +
 ExportMap/Sources/说明.txt |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ExportMap/Sources/xyz.py b/ExportMap/Sources/xyz.py
index beb6410..5570db6 100644
--- a/ExportMap/Sources/xyz.py
+++ b/ExportMap/Sources/xyz.py
@@ -116,6 +116,7 @@
 
     loadLayers(prj, args)
     ext = getExtent(prj)
+    prj.writePath(args.file.replace(".txt", ".qgz"))
 
     import processing
     ops = {
diff --git "a/ExportMap/Sources/\350\257\264\346\230\216.txt" "b/ExportMap/Sources/\350\257\264\346\230\216.txt"
index cc3b89e..201aa7a 100644
--- "a/ExportMap/Sources/\350\257\264\346\230\216.txt"
+++ "b/ExportMap/Sources/\350\257\264\346\230\216.txt"
@@ -30,6 +30,7 @@
 >>> import qgis.core
 
 ================================================================================ 鎵ц
+C:\Program Files\QGIS 3.16\apps\qgis-ltr\python\plugins\processing\algs\qgis\TilesXYZ.py
 "C:\Program Files\QGIS 3.16\bin\qgis_process-qgis-ltr.bat"
 qgis_process.exe help qgis:tilesxyzdirectory
 qgis_process.exe run qgis:tilesxyzdirectory D:\xyz\tif\DOM012.tif -- EXTENT='38399769,38403264,3558330,3561632' ZOOM_MIN=8 ZOOM_MAX=12 DPI=96 BACKGROUND_COLOR=rgba(0,0,0,0) TILE_FORMAT=0 QUALITY=100 METATILESIZE=4 TILE_HEIGHT=256 TILE_WIDTH=256 TMS_CONVENTION=1 OUTPUT_DIRECTORY=D:\xyz\tiles\zy OUTPUT_HTML=D:\xyz\tiles\zy\view.html

--
Gitblit v1.9.3