aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2026-06-09 17:16:45 +0200
committerGuilhem Moulin <guilhem@fripost.org>2026-06-09 17:17:21 +0200
commited578ce62076502ed58694a7f9ac44e1aa1d0f7a (patch)
tree2e466115881beb2cd710268a582503d4fb6ba58f
parent2d2ae41e0e9dc945855a6bb62228995e74eea229 (diff)
clusterLayer: Add missing space in SQL query.HEADmaster
The query itself was valid, but it makes the debug output easier to read that way.
-rw-r--r--import_source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/import_source.py b/import_source.py
index f802a57..7a0bdc8 100644
--- a/import_source.py
+++ b/import_source.py
@@ -269,7 +269,7 @@ def clusterLayer(lyr : ogr.Layer,
'GROUP BY 1) '
'SELECT index, array_length(columns, 1) AS len '
'FROM indices '
- 'WHERE ' + escape_literal_str(column_name) + ' = ANY(columns)'
+ 'WHERE ' + escape_literal_str(column_name) + ' = ANY(columns) '
# pick the index involving the least number of columns
'ORDER BY 2,1 LIMIT 1') as res:
defn = res.GetLayerDefn()