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

> Encode all geometry columns in the GeoDataFrame to WKT.

Encode all geometry columns in the GeoDataFrame to WKT.

## Signature

```python theme={"system"}
to_wkt(**kwargs) -> pspd.DataFrame
```

## Parameters

<ParamField path="kwargs">
  Shapely-specific serialization options are not supported by the
  distributed implementation and raise `NotImplementedError`.
</ParamField>

## Returns

<ResponseField name="return" type="pyspark.pandas.DataFrame">
  A distributed DataFrame with every geometry-typed column encoded
  as WKT and all other columns unchanged.
</ResponseField>

<Note>
  Duplicate column labels remain subject to pandas-on-Spark's DataFrame
  construction restrictions.

  Unlike GeoPandas, this method returns a lazy pandas-on-Spark DataFrame.
  Call `to_pandas()` on the result to materialize a local pandas
  DataFrame.

  Sedona's native WKT writer preserves stored coordinate precision.
  GeoPandas delegates to Shapely, whose default writer rounds coordinates
  to six decimal places. Shapely-specific formatting keyword arguments
  are not supported here.
</Note>

**See also**

* `GeoDataFrame.to_wkb`
* `GeoSeries.to_wkt`


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