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

> Create an areal geometry formed by the constituent linework.

Create an areal geometry formed by the constituent linework.

Builds areas from the GeoSeries that contain linework which represents
the edges of a planar graph.  All geometries within the GeoSeries are
considered together and the resulting polygons therefore do not map 1:1
to input geometries.

## Signature

```python theme={"system"}
build_area(node=True)
```

## Parameters

<ParamField path="node" type="bool" default="True">
  If True, the linework is noded together before building areas.
</ParamField>

## Returns

<ResponseField name="return" type="GeoSeries" />

## Examples

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoSeries
>>> from shapely.geometry import MultiLineString
>>> s = GeoSeries(
...     [
...         MultiLineString(
...             [[(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)]]
...         ),
...     ]
... )
>>> s.build_area()
0    POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))
Name: polygons, dtype: geometry
```


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