Skip to main content
Return True for geometries that equal aligned other to a given tolerance, otherwise False. Equality is structural: geometry types, component ordering, ring ordering, and vertex ordering must match. Corresponding x and y coordinates may differ by at most tolerance. Z and M coordinates are ignored. The operation works in a 1-to-1 row-wise manner.

Signature

Parameters

GeoSeries or geometric object
required
The GeoSeries (elementwise) or geometric object to compare to.
float
required
Maximum distance allowed between corresponding coordinates.
bool | None (default None)
default:"None"
If True, automatically align GeoSeries based on their indices. If False, compare values in their existing order. None defaults to True.

Returns

Series(bool)
This method checks geometries row by row; it does not compare each geometry with every value in other.As elsewhere in Sedona’s GeoPandas compatibility layer, standalone LinearRing geometries are serialized as LineString geometries. Consequently, this method cannot distinguish those two standalone input types when their coordinates match.
See also
  • GeoSeries.geom_equals

Examples