ST_ForceCurve
Name
ST_ForceCurve — Upcast a geometry into its curved type, if applicable.
Synopsis
geometry
ST_ForceCurve
(
geometry
g
)
;
Description
Turns a geometry into its curved representation, if applicable: lines become compoundcurves, multilines become multicurves polygons become curvepolygons multipolygons become multisurfaces. If the geometry input is already a curved representation returns back same as input.
Availability: 2.2.0
This function supports 3d and will not drop the z-index.
This method supports Circular Strings and Curves