Spatial Operations#

unary_union(geoms)

compute union of multiple (multi)polygons efficiently

unary_intersection(geoms)

compute intersection of multiple (multi)polygons

bbox_union(bbs)

Given a stream of bounding boxes compute enclosing BoundingBox

bbox_intersection(bbs)

Given a stream of bounding boxes compute the overlap BoundingBox

lonlat_bounds(geom[, mode, resolution])

Return the bounding box of a geometry

projected_lon(crs, lon[, lat, step])

Project vertical line along some longitude into given CRS.

clip_lon180(geom[, tol])

For every point in the lon=180|-180 band clip to either 180 or -180 180|-180 is decided based on where the majority of other points lie.

chop_along_antimeridian(geom[, precision])

Chop a geometry along the antimeridian