Skip to content

Commit

Permalink
fixes issue with db lock when writing mbtiles
Browse files Browse the repository at this point in the history
  • Loading branch information
saberraz authored and wonder-sk committed May 27, 2019
1 parent b545979 commit 169e246
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/qgis/TilesXYZ.py
Expand Up @@ -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)
Expand Down Expand Up @@ -409,7 +410,7 @@ def processAlgorithm(self, parameters, context, feedback):
right: 10px;
top: 10px;
bottom: 10px;
width: 600px;
width: 600px;
height: 400px;
}}
</style>
Expand Down

0 comments on commit 169e246

Please sign in to comment.