diff --git a/src/scripts/get_geom.sql b/src/scripts/get_geom.sql index 6aa563e97..b48ee1ad0 100644 --- a/src/scripts/get_geom.sql +++ b/src/scripts/get_geom.sql @@ -1,4 +1,4 @@ SELECT - ST_AsMVTGeom (ST_Transform ({geometry_column}, 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {id}, bounds + ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {id}, bounds WHERE {geometry_column} && bounds.srid_{srid}