View source: R/fnc_ais_segment.R
ais_segment | R Documentation |
A function to create navigation tracks from AIS data based on maximum distance and maximum time interval between observations.
ais_segment(df, time_interval = (300/60), distance = (50 * 1.61 * 1000))
time_interval |
maximum time interval allowed between points, in hours |
distance |
maximum distance allowed between points, in meters |
ais |
csv of AIS positional data |
This function takes basic .csv
files containing AIS observation data and creates line segments divided by individual boats (MMSI
field) and by a user defined maximum time internal and distance between observations.
# Example 1:
ais <- ais_segment(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.