client.to_geopandas
client.to_geopandas(relation, crs)Convert a relation with a geometry column into a GeoDataFrame.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| relation | duckdb.DuckDBPyRelation | Relation, e.g. from read_parquet or read_geojson. |
required |
| crs | int or str | EPSG code of the geometries. | required |
Returns
| Name | Type | Description |
|---|---|---|
| geopandas.GeoDataFrame |