ST_Polygon( ST_LineString , ST_LineString ) constructor

Creates a polygon from a linestring representing the exterior ring and an optional list of linestrings representing interior rings.

Syntax

NEW ST_Polygon( ST_LineString exterior_ring, ST_LineString interior_ringi)

Parameters

Returns

ST_Polygon Returns a polygon created from the specified rings.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) 8.3.2