fromstr
Given a string value, return a GEOSGeometry object.
def fromstr(
string: string,
**kwargs: dict
) - > GEOSGeometry
Given a string value, return a GEOSGeometry object.
Parameters
| Name | Type | Description |
|---|---|---|
| string | string | The string representation of the geometry, such as WKT (Well-Known Text) or Hex EWKB |
| **kwargs | dict | Additional keyword arguments passed to the GEOSGeometry constructor for configuration |
Returns
| Type | Description |
|---|---|
GEOSGeometry | A GEOSGeometry object initialized from the provided string representation |