PostGIS  3.4.0dev-r@@SVN_REVISION@@
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages

◆ PG_FUNCTION_INFO_V1() [13/23]

PG_FUNCTION_INFO_V1 ( LWGEOM_isclosed  )

IsClosed(GEOMETRY) if geometry is a linestring then returns startpoint == endpoint.

If its not a linestring then return NULL. If it's a collection containing multiple linestrings,

Returns
true only if all the linestrings have startpoint=endpoint.