GeoPakTile 2.1.0__tar.gz → 2.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GeoPakTile
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: Create a Geopackage XYZ Tile layer.
5
5
  Keywords: GIS,Geopackage,Tiles,XYZ,gpkg
6
6
  Author: apwebber
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "GeoPakTile"
3
- version = "2.1.0"
3
+ version = "2.1.1"
4
4
  description = "Create a Geopackage XYZ Tile layer."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -159,6 +159,7 @@ class GeoPakTile:
159
159
  )
160
160
  VALUES (?, ?, ?, ?)
161
161
  """
162
+ tiles = list(tiles)
162
163
 
163
164
  zs = {t[0] for t in tiles}
164
165
  for z in zs:
@@ -170,9 +171,6 @@ class GeoPakTile:
170
171
  x = int(x)
171
172
  y = int(y)
172
173
 
173
- if self.has_tile(z, x, y):
174
- continue
175
-
176
174
  batch.append((z, x, y, sqlite3.Binary(tile_bytes)))
177
175
  if len(batch) >= batch_size:
178
176
  self._cursor.executemany(insert_sql, batch)
File without changes
File without changes