ExportMap/Sources/xyz.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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()