from_wkb#

classmethod GeosArray.from_wkb(data, **kwargs)#

Create a GeosArray from WKB data.
This function is a simple wrapper around shapely.io.from_wkb().

Parameters:
  • data – WKB data or list of WKB data.

  • kwargs – Keyword arguments passed to from_wkb().

Returns:

Data wrapped in a GeosArray.

Return type:

pgpd.GeosArray