geopandas.GeoSeries.to_wkb¶
- GeoSeries.to_wkb(hex=False, **kwargs)¶
Convert GeoSeries geometries to WKB
- 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
pygeos.to_wkb()
if pygeos is installed.
- Returns
- Series
WKB representations of the geometries
See also