Skip to content

Commit 6a78762

Browse files
committed
Add ST_CurveToLine for output geom
1 parent c2095e7 commit 6a78762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/provider/mvt_postgresql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def get_tiles(self, layer='default', tileset=None,
153153
geom_column = getattr(self.table_model, self.geom)
154154
mvtgeom = (
155155
func.ST_AsMVTGeom(
156-
func.ST_Transform(geom_column, out_srid),
156+
func.ST_Transform(func.ST_CurveToLine(geom_column), out_srid),
157157
func.ST_Transform(envelope.c.bounds, out_srid))
158158
.label('mvtgeom')
159159
)

0 commit comments

Comments
 (0)