> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_pointonsurface.md).

# ST\_POINTONSURFACE

## Syntax

```bnf
ST_PointOnSurface(g)
PointOnSurface(g)
```

## Description

Given a geometry, returns a [POINT](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/point.md) guaranteed to intersect a surface. However, see [MDEV-7514](https://jira.mariadb.org/browse/MDEV-7514).

ST\_PointOnSurface() and PointOnSurface() are synonyms.

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
