From 318eb56010c6e638a96aed3d09fa75d418e8f4ee Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 10 三月 2023 14:06:13 +0800
Subject: [PATCH] 1

---
 ExportMap/Sources/xyz.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ExportMap/Sources/xyz.py b/ExportMap/Sources/xyz.py
index c1d6e34..beb6410 100644
--- a/ExportMap/Sources/xyz.py
+++ b/ExportMap/Sources/xyz.py
@@ -69,6 +69,7 @@
 
         prj.addMapLayer(layer)
 
+
 # 杈圭晫绫�
 class Rectangle:
     def __init__(self, xmin, xmax, ymin, ymax):
@@ -76,6 +77,7 @@
         self.xmax = xmax
         self.ymin = ymin
         self.ymax = ymax
+
 
 # 鑾峰彇杈圭晫
 def getExtent(prj):
@@ -98,6 +100,7 @@
 
     # '38399769,38403264,3558330,3561632'
     return str(ex.xmin) + "," + str(ex.xmax) + "," + str(ex.ymin) + "," + str(ex.ymax)
+
 
 # 鍒濆鍖�
 def init():
@@ -131,7 +134,7 @@
         'ZOOM_MIN': 4
     }
     print(ops)
-    #processing.run("qgis:tilesxyzdirectory", ops)
+    processing.run("qgis:tilesxyzdirectory", ops)
 
     qgs.exitQgis()
 

--
Gitblit v1.9.3