# GEOGRAPHY\_LONGITUDE

This function extracts the longitude portion of a `GeographyPoint`.

## Syntax

```
GEOGRAPHY_LONGITUDE ( point )

```

## Arguments

* Any valid `GeographyPoint` or WKT string.

## Return Type

A float of the longitude value. If the object is invalid or not a point (say a path or polygon), returns NULL.

## Examples

```sql
SELECT GEOGRAPHY_LONGITUDE("POINT(-73.94990499 40.69150746)") AS lon;

```

```output

+--------------------+
| lon                |
+--------------------+
| -73.94990499066743 |
+--------------------+

```

## Related Topics

For more information about working with geospatial data, see [Working with Geospatial Features](https://docs.singlestore.com/db/v9.1/developer-resources/functional-extensions/working-with-geospatial-features.md).

***

Modified at: February 24, 2023

Source: [/db/v9.1/reference/sql-reference/geospatial-functions/geography-longitude/](https://docs.singlestore.com/db/v9.1/reference/sql-reference/geospatial-functions/geography-longitude/)

(An index of the documentation is available at /llms.txt)
