R/get_tracks_around_centre.R
get_tracks_around_centre.Rd
Extract tracks nearest to a given position
get_tracks_around_centre(
local,
centre,
max_distance = 200,
max_height = 200,
max_tracks = 100,
relevant = 1,
rate = 2
)
the connection to the local database
a data frame with a single row and x and y coordinates of the centre. Coordinates in CRS 31370
Use all equal time tracks where the minimum distance in
meters between the track and the centre is smaller than max_distance
.
Only use track points with an altitude lower than
max_height
.
Defaults to 200 meter.
Return only the nearest max_tracks
tracks.
The value of the relevant
variable of the species
table
in the database.
Select only tracks from species with a value equal or larger than this
number.
The time difference between points to calculate the step length and turning angles.