Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit f9eb8ff

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05fbcaf commit f9eb8ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmtm_splitter/fmtm_algorithm.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ CREATE TABLE clusteredbuildings AS (
243243
*,
244244
ST_CLUSTERKMEANS(
245245
b.geom,
246-
CAST((b.numfeatures / %(num_buildings)s) + 1 AS integer)
246+
CAST((b.numfeatures / b.%(num_buildings)s) + 1 AS integer)
247247
)
248248
OVER (PARTITION BY b.polyid)
249-
AS cid
249+
AS cid
250250
FROM buildingstocluster AS b
251251
),
252252

0 commit comments

Comments
 (0)