Skip to content
Permalink
Browse files

fixes issue with db lock when writing mbtiles

  • Loading branch information
saberraz authored and wonder-sk committed May 27, 2019
1 parent b545979 commit 169e246fdc399e97e817bcc0f1b99a06f818702e
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/qgis/TilesXYZ.py
@@ -307,6 +307,7 @@ def _execute_sqlite(self, *commands):
conn.close()

def _init_zoom_layer(self, zoom):
self._zoom_ds = None
west_edge, south_edge, east_edge, north_edge = self.extent
first_tile = Tile(*deg2num(north_edge, west_edge, zoom), zoom)
last_tile = Tile(*deg2num(south_edge, east_edge, zoom), zoom)
@@ -409,7 +410,7 @@ def processAlgorithm(self, parameters, context, feedback):
right: 10px;
top: 10px;
bottom: 10px;
width: 600px;
width: 600px;
height: 400px;
}}
</style>

0 comments on commit 169e246

Please sign in to comment.
You can’t perform that action at this time.