> ## 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.

# GeoDataFrame.active_geometry_name

> Return the name of the active geometry column

Return the name of the active geometry column

Returns a name if a GeoDataFrame has an active geometry column set,
otherwise returns None. The return type is usually a string, but may be
an integer, tuple or other hashable, depending on the contents of the
dataframe columns.

You can also access the active geometry column using the
`.geometry` property. You can set a GeoSeries to be an active geometry
using the `set_geometry` method.

## Signature

```python theme={"system"}
GeoDataFrame.active_geometry_name: Any
```

## Returns

<ResponseField name="return" type="str or other index label supported by pandas">
  name of an active geometry column or None
</ResponseField>

**See also**

* `GeoDataFrame.set_geometry`: set the active geometry


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