movingpandas.TrajectoryCollection.clip#
- TrajectoryCollection.clip(polygon, point_based=False)#
Clip trajectories by the given polygon.
- Parameters:
polygon (shapely.geometry.Polygon) – Polygon to clip with
point_based (bool) – Clipping method
- Returns:
Resulting clipped trajectory segments
- Return type: