> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GeometryType (Python)

> Return the type of the geometry as a string.

Return the type of the geometry as a string.
This function also indicates if the geometry is measured, by returning a string of the form 'POINTM'.

SQL reference: [`GeometryType`](/reference/wherobots-db/geometry-data/accessors/GeometryType)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import GeometryType

GeometryType(geometry: ColumnOrName)
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to calculate the dimension for.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Type of geometry as a string column.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.