movingpandas.TrajectoryCollection.get_intersecting#

TrajectoryCollection.get_intersecting(polygon)#

Return trajectories that intersect the given polygon.

Parameters:

polygon (shapely.geometry.Polygon) – Polygon to intersect with

Returns:

Resulting intersecting trajectories

Return type:

TrajectoryCollection