Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a Series of dtype(‘bool’) with value True for geometries that do not cross themselves.
Series
dtype('bool')
True
LineStrings
LinearRings
>>> from sedona.spark.geopandas import GeoSeries >>> from shapely.geometry import LineString >>> s = GeoSeries( ... [ ... LineString([(0, 0), (1, 1), (1, -1), (0, 1)]), ... LineString([(0, 0), (1, 1), (1, -1)]), ... ] ... ) >>> s 0 LINESTRING (0 0, 1 1, 1 -1, 0 1) 1 LINESTRING (0 0, 1 1, 1 -1) dtype: geometry
>>> s.is_simple 0 False 1 True dtype: bool
GeoSeries.is_simple: pspd.Series
Was this page helpful?