# Polygon Properties

- [CENTROID](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/centroid.md): Synonym for ST\_CENTROID. Returns the mathematical centroid of the Polygon or MultiPolygon as a Point geometry.
- [AREA](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/polygon-properties-area.md): Synonym for ST\_AREA. Returns the double-precision area of the Polygon or MultiPolygon, calculated in its spatial reference system.
- [ExteriorRing](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/polygon-properties-exteriorring.md): Synonym for ST\_ExteriorRing. Returns the exterior ring of a Polygon as a LineString.
- [InteriorRingN](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/polygon-properties-interiorringn.md): Synonym for ST\_InteriorRingN. Returns the N-th interior ring of a Polygon as a LineString.
- [NumInteriorRings](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/polygon-properties-numinteriorrings.md): Synonym for ST\_NumInteriorRings. Returns the number of interior rings in a Polygon geometry.
- [ST\_AREA](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_area.md): Returns the area of a Polygon or MultiPolygon. The result is a double-precision number measured in the geometry's spatial reference units.
- [ST\_CENTROID](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_centroid.md): Returns the centroid of a Polygon or MultiPolygon. The result is a Point geometry representing the mathematical center of mass.
- [ST\_ExteriorRing](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_exteriorring.md): Returns the exterior ring of a Polygon. This function extracts the outer boundary of the polygon as a LineString geometry.
- [ST\_InteriorRingN](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_interiorringn.md): Returns the N-th interior ring of a Polygon. This function retrieves a specific inner hole of the polygon as a LineString.
- [ST\_NumInteriorRings](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_numinteriorrings.md): Returns the count of interior rings in a Polygon. This function calculates the total number of inner holes within the polygon.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/polygon-properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
