Skip to content

Commit 983cc3f

Browse files
committed
fix(goatlib): correct geometry type query in PMTiles sync task
1 parent 6b458bd commit 983cc3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/goatlib/src/goatlib/tasks/sync_pmtiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def _detect_geometry_type(
388388
try:
389389
with manager.connection() as con:
390390
result = con.execute(f"""
391-
SELECT DISTINCT ST_GeometryType(ST_GeomFromWKB({layer.geometry_column}))
391+
SELECT DISTINCT ST_GeometryType({layer.geometry_column})
392392
FROM {layer.full_table_name}
393393
LIMIT 10
394394
""").fetchall()

0 commit comments

Comments
 (0)