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

> Write a GeoDataFrame to the Feather format.

Write a GeoDataFrame to the Feather format.

Any geometry columns present are serialized to WKB format in the file.

Feather is a single-file format with no distributed writer, so this
collects the entire GeoDataFrame to the driver and delegates to GeoPandas.
It should only be used if the resulting GeoDataFrame is expected to be small.

Requires 'pyarrow' >= 0.17.

## Signature

```python theme={"system"}
to_feather(
    path,
    index: bool | None = None,
    compression: str | None = None,
    schema_version=None,
    **kwargs,
)
```

## Parameters

**path** `str, path object` *required*

Local file path to write to.

**index** `bool | None` (default: None)

If `True`, always include the dataframe's index(es) as columns
in the file output.
If `False`, the index(es) will not be written to the file.
If `None`, the index(es) are written as columns. Unlike GeoPandas,
this also applies to a `RangeIndex`, because Sedona always converts
it into a general `Index`.

**compression** `str | None` (default: None)

Name of the compression to use. Use `"uncompressed"` for no
compression. By default uses LZ4 if available, otherwise uncompressed.

**schema\_version** `('0.1.0', '0.4.0', '1.0.0', '1.1.0', None)` (default: None)

GeoParquet specification version; if not provided will default to
latest supported stable version.

**kwargs**

Additional keyword arguments passed to
`pyarrow.feather.write_feather`.

**See also**

* `GeoDataFrame.to_parquet`: write GeoDataFrame to parquet
* `GeoDataFrame.to_file`: write GeoDataFrame to file

## Examples

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoDataFrame
>>> from shapely.geometry import Point
>>> gdf = GeoDataFrame({"geometry": [Point(0, 0), Point(1, 1)], "value": [1, 2]})
>>> gdf.to_feather("data.feather")
```


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