ST_InteriorRingN — Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range.
geometry ST_InteriorRingN(
geometry a_polygon, integer n)
;
Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range. index starts at 1.
This will not work for MULTIPOLYGONs. Use in conjunction with ST_Dump for MULTIPOLYGONS |
This method implements the OpenGIS Simple Features Implementation Specification for SQL.
This method implements the SQL/MM specification: SQL-MM 3: 8.2.6, 8.3.5
This function supports 3d and will not drop the z-index.