from_wkt#

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

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

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

  • kwargs – Keyword arguments passed to from_wkt().

Returns:

Data wrapped in a GeosArray.

Return type:

pgpd.GeosArray