We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b458bd commit 983cc3fCopy full SHA for 983cc3f
packages/python/goatlib/src/goatlib/tasks/sync_pmtiles.py
@@ -388,7 +388,7 @@ def _detect_geometry_type(
388
try:
389
with manager.connection() as con:
390
result = con.execute(f"""
391
- SELECT DISTINCT ST_GeometryType(ST_GeomFromWKB({layer.geometry_column}))
+ SELECT DISTINCT ST_GeometryType({layer.geometry_column})
392
FROM {layer.full_table_name}
393
LIMIT 10
394
""").fetchall()
0 commit comments