Let’s suppose that I have a set of lat-lon coordinates (df
) that represent the track of a given vehicle on Earth.
df=data.frame(lat=c(-6:4, 9:12), lon=c(-30,-30, 2, 14:21, 20:22, 160))
How can I, for each lat-lon values:
- apply a 300km radius?
- obtain all the lat-lon values within each circle?