ST_PointOnSurface() method

Returns an ST_Point value that is guaranteed to spatially intersect the ST_Surface value.

Syntax

surface-expression.ST_PointOnSurface()

Returns

ST_Point If the surface is the empty set, returns NULL. Otherwise, returns an ST_Point value guaranteed to spatially intersect the ST_Surface value.

Examples

Standards

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