Skip to contents

The function filters tracks that have at least one object centre located within a area/polygon. It takes a tracks data frame, as returned by readTracks, and returns a data frame with a similar structure.

Usage

filter_by_area(tracks.df, polygon)

Arguments

tracks.df

the tracks to be filtered (data frame)

polygon

matrix of polygon vertices (xy)

Value

data frame with the filtered tracks

Author

Ahmed Homoudi