MoveApps
Github repository: github.com/movestore/Distance-To-Loc
Calculates the distance to a reference location and plots it for selected individuals.
This app calculates the Vincenty ellipsoidal distance in metres (using the R package geosphere) from all positions to a user-defined reference location. These distances are then plotted over time as lines in a single plot (one line per individual). The reference location can be changed interactively. Users can download the plot as a PNG file and save the distance table as a CSV file using the download buttons.
This App was developed for any taxonomic group.
The App should work for any kind of (location) data.
move2::move2_loc
move2::move2_loc
distance_plot_lon_lat.png:PNG file containing the distance–time plot for the selected individuals.
distance_table_lon_lat.csv: CSV file containing the distances of the selected individuals to the specified location (incl: track ID, timestamp, longitude, latitude, and distance_to_location).
Tracks:
animals: select the tracks to include.
select_all_animals: button to select all tracks.
unselect_animals : button to unselect all tracks.
Reference Location:
Longitude: longitude of the reference location to which the distance for each data position is calculated. Coordinate has to be in EPSG:4326.
Latitude: latitude of the reference location to which the distance for each data position is calculated. Coordinate has to be in EPSG:4326.
Buttons:
Apply Changes: click on this button to update the calculation after changing the tracks selection or coordinates of the reference position.
Download plot : click on this button to download the png-file containing the plot for selected individuals.
Save Table(csv) : click on this button to save the csv-file with table of selected individuals' distances to the specified reference location.
The input data remains unchanged.
Setting Longitude of Reference Location: This parameter defaults to 0, which is the Prime Meridian. It can be interactively changed in the UI. It has to be a valid longitude in EPSG:4326
Setting Latitude of Reference Location: This parameter defaults to 0, which is the Equator. It can be interactively changed in the UI. It has to be a valid latitude in EPSG:4326