Skip to contents

Returns the number of interior rings of a polygon.

Usage

ST_NumInteriorRings(geom)

Arguments

geom

GEOMETRY

Value

INTEGER

Overloads

  • ST_NumInteriorRings(geom = GEOMETRY)

  • ST_NumInteriorRings(polygon = POLYGON_2D)

Provided by

The spatial extension (LOAD spatial;).