Description Usage Arguments Value Examples
Import and summarise tracklogs and waypoints.
1 2 3 |
folder_gpx |
Location of folder containing .gpx files. |
river_shape |
Location of file containing shapefile to define survey zones |
folder_result |
Location where results are saved. |
date_start |
Optional. Character of start date ("dd/mm/yyyy") |
date_end |
Optional. Character of end date ("dd/mm/yyyy") |
make_shape |
Optional. Logical (TRUE/FALSE). Write a shapefile with all tracklog points. |
do_waypoints |
Optional. Logical (TRUE/FALSE). Generate .csv with waypoints. |
make_shape_wp |
Optional. Logical (TRUE/FALSE). Generate shapefile with waypoints. |
type_csv |
Required. What type of .csv to export? ".csv" or ".csv2" |
Will generate R objects and export .csv and shapefiles.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# 1) need to specify 3 locations.
#1.1) Location of shapefile with river zones
#1.2) Location of folder with .gpx files censu
#1.3) Location of folder for results
rs <- system.file("shapes/riverzones.shp", package = "rgps")
fg <- system.file("gpx", package = "rgps")
fr <- "/Location/of/result/folder"
# 2) run
list_track_data <- rgps::make_tracks(
folder_gpx = fg, folder_result = fr, river_shape = rs,
do_waypoints = TRUE, make_shape = FALSE,
make_shape_wp = FALSE,
type_csv = ".csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.