dask_geopandas.GeoSeries.to_wkb#
- GeoSeries.to_wkb(hex=False, **kwargs)#
Encode all geometry columns in the GeoDataFrame to WKB.
This docstring was copied from geopandas.geodataframe.GeoDataFrame.to_wkb.
Some inconsistencies with the Dask version may exist.
- Parameters:
- hexbool
If true, export the WKB as a hexadecimal string. The default is to return a binary bytes object.
- kwargs
Additional keyword args will be passed to
shapely.to_wkb()
if shapely >= 2 is installed orpygeos.to_wkb()
if pygeos is installed.
- Returns:
- DataFrame
geometry columns are encoded to WKB