sedona.spark.core.geom.shapely1 package

Submodules

sedona.spark.core.geom.shapely1.circle module

class sedona.spark.core.geom.shapely1.circle.Circle(shell=None, holes=None)[source]

Bases: Polygon

__init__(centerGeometry: BaseGeometry, givenRadius: float)[source]
property coords

Not implemented for polygons.

covers(other: BaseGeometry) bool[source]

Return True if the geometry covers the other, else False.

covers_linestring(linestring: LineString)[source]
covers_point(point: Point)[source]
getCenterGeometry() BaseGeometry[source]
getCenterPoint()[source]
getEnvelopeInternal()[source]
getRadius() float[source]
intersects(other: BaseGeometry)[source]

Return True if geometries intersect, else False.

property is_empty

True if the set of points in this geometry is empty, else False.

setRadius(givenRadius: float)[source]

sedona.spark.core.geom.shapely1.envelope module

class sedona.spark.core.geom.shapely1.envelope.Envelope(shell=None, holes=None)[source]

Bases: Polygon

__init__(minx=0, maxx=1, miny=0, maxy=1)[source]
property coords

Not implemented for polygons.

create_jvm_instance(**kwargs)
classmethod from_jvm_instance(java_obj)[source]
classmethod from_shapely_geom(geometry: BaseGeometry)[source]
isClose(a, b) bool[source]
classmethod serialize_for_java(envelopes)[source]
to_bytes()[source]

Module contents