Skip to main content
Select geometries that intersect a coordinate bounding box. The indexer accepts an x slice followed by a y slice. Slice bounds are inclusive, may be open-ended, and may be written in either order. Non-None slice steps are ignored with a warning, matching GeoPandas.

Signature

Returns

_CoordinateIndexer
Coordinate indexer returning the same distributed type as this object.
Selection is evaluated with native Spark and Sedona expressions. Open bounds are derived with a one-row distributed bounds aggregation; no geometry rows are collected to the driver.

Examples

Open-ended slices are supported: