From 7c2d160da0e0dc18218d68818d9c43e41fc08c5c Mon Sep 17 00:00:00 2001 From: abelvm Date: Wed, 10 Aug 2016 13:58:37 -0400 Subject: [PATCH] tests rectangle grid --- src/pg/sql/13_PIA.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/sql/13_PIA.sql b/src/pg/sql/13_PIA.sql index c395720..a0ed670 100644 --- a/src/pg/sql/13_PIA.sql +++ b/src/pg/sql/13_PIA.sql @@ -40,7 +40,7 @@ BEGIN -- grid #0 with c1 as( - SELECT CDB_RectangleGrid(polygon, h, h) as c + SELECT CDB_RectangleGrid(polygon, h::float, h::float) as c ) SELECT array_agg(c) INTO cells FROM c1;