# toSphericalGeography

Converts a Geometry object to a spherical geography object.

## Signature

> toSphericalGeography(geometryObject)

## Usage Examples

```sql
select toSphericalGeography(
    STPOINT(-122, 37)
) AS value
from ignoreMe 
```

| value                              |
| ---------------------------------- |
| 80c05e8000000000004042800000000000 |

{% hint style="info" %}
You can create geometry objects using the [STPOINT](https://docs.pinot.apache.org/release-0.10.0/configuration-reference/functions/stpoint) and [ST\_GeomFromText](https://docs.pinot.apache.org/release-0.10.0/configuration-reference/functions/stgeomfromtext) functions.
{% endhint %}
