From d9c1cba1e21764db7f8065452f6c81db33831553 Mon Sep 17 00:00:00 2001 From: Kris Zima Date: Fri, 26 Nov 2021 21:08:23 +0800 Subject: [PATCH] fix: 500 errors on uppercase table names (#285) (h/t @kzima) --- src/scripts/get_geom.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/get_geom.sql b/src/scripts/get_geom.sql index 800cfb35..212ddf86 100644 --- a/src/scripts/get_geom.sql +++ b/src/scripts/get_geom.sql @@ -1,4 +1,4 @@ SELECT - ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {schema}.{table}, bounds + ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {schema}."{table}", bounds WHERE {geometry_column} && bounds.srid_{srid}