possibly_intersecting

possibly_intersecting(dataframebounds, geometry, buffer=0)

Efficiently determine possibly intersecting geometries using a bounding box.

Finding intersecting profiles for each branch is a slow process in case of large datasets To speed this up, we first determine which profile intersect a square box around the branch With the selection, the intersecting profiles can be determines much faster.

Parameters

Name Type Description Default
dataframebounds numpy.array required
geometry shapely.geometry.Polygon required