Skip to content

Commit

Permalink
docs(duckdb): add short section on enabling duckdb geospatial (#8744)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Cloud <[email protected]>
  • Loading branch information
gforsyth and cpcloud authored Mar 25, 2024
1 parent 9448df8 commit c964bc5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/backends/duckdb.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,41 @@ You can store it as an environment variable to avoid having to log in again:
['penguins']
```

## Geospatial

The DuckDB backend has experimental support for
[geospatial](../posts/ibis-duckdb-geospatial/index.qmd) operations.

To enable geospatial operations, install the `geospatial` extra or otherwise install
the additional required dependencies:

See [`read_geo`](#ibis.backends.duckdb.Backend.read_geo) for some tips on reading
in geospatial data.


::: {.panel-tabset}

## `pip`

```bash
pip install 'ibis-framework[geospatial]'
```


## `conda`

```bash
conda install -c conda-forge geopandas 'shapely>=2,<3'
```

## `mamba`

```bash
mamba install -c conda-forge geopandas 'shapely>=2,<3'
```

:::

```{python}
#| echo: false
BACKEND = "DuckDB"
Expand Down

0 comments on commit c964bc5

Please sign in to comment.