Skip to main content
Returns the Nth interior linestring ring of the polygon geometry. Returns NULL if the geometry is not a polygon or the given N is out of range ST_InteriorRingN

Signatures

Parameters

geom
Geometry
required
The input geometry.
n
Integer
required
The index or count value.

Return type

The resulting geometry.

Example