From 9ca4d755c97a4f3be76be0b41b1b16219e0d3c24 Mon Sep 17 00:00:00 2001 From: antoniocarlon Date: Mon, 23 Jul 2018 12:25:51 +0200 Subject: [PATCH] Fixed typo --- src/pg/sql/45_observatory_mvt.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/sql/45_observatory_mvt.sql b/src/pg/sql/45_observatory_mvt.sql index 83b63f5..0f54b59 100644 --- a/src/pg/sql/45_observatory_mvt.sql +++ b/src/pg/sql/45_observatory_mvt.sql @@ -652,7 +652,7 @@ BEGIN format( $query$ SELECT ROUND(AVG(x)) AS x, ROUND(AVG(y)) as y - FROM %3$s_%1$s_%2$s + FROM %3$s%1$s_%2$s $query$, mc_geography_level, z, tiler_table_prefix) INTO avg_x, avg_y;