Skip to main content
Convert GeoSeries geometries to WKB

Signature

Parameters

bool
default:"False"
If true, export the WKB as a hexadecimal string. The default is to return a binary bytes object.
Additional keyword args will be passed to shapely.to_wkb.

Returns

Series
WKB representations of the geometries
See also
  • GeoSeries.to_wkt

Examples