Skip to content

Commit

Permalink
Update viz docstring to mark support for geoarrow-pyarrow (#471)
Browse files Browse the repository at this point in the history
Closes #464
  • Loading branch information
kylebarron authored Apr 19, 2024
1 parent 758b737 commit 2d7e98f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lonboard/_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def __arrow_c_stream__(
pa.Table,
NDArray[np.object_],
shapely.geometry.base.BaseGeometry,
ArrowArrayExportable,
ArrowStreamExportable,
GeoInterfaceProtocol,
Dict[str, Any],
Expand Down Expand Up @@ -110,6 +111,7 @@ def viz(
[Geo Interface protocol](https://gist.github.com/sgillies/2217756).
- `dict` holding GeoJSON-like data.
- pyarrow `Table` with a geometry column marked with a GeoArrow extension type
- pyarrow `Array` marked with a [GeoArrow extension type defined by geoarrow-pyarrow](https://geoarrow.org/geoarrow-python/main/pyarrow.html#geoarrow.pyarrow.GeometryExtensionType)
Alternatively, you can pass a `list` or `tuple` of any of the above inputs.
Expand Down

0 comments on commit 2d7e98f

Please sign in to comment.