ST_Polygon( ST_Point , ST_Point ) constructor

Creates an axis-aligned rectangle from two points representing the lower-left and upper-right corners.

Syntax

NEW ST_Polygon( ST_Point pmin, ST_Point pmax)

Parameters

Returns

ST_Polygon Returns an axis-aligned rectangle.

Examples

Standards

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