ps_read_waypoints_gpxs: Read GPX

ps_read_waypoints_gpxsR Documentation

Read GPX

Description

Reads waypoints from a gpx file.

Usage

ps_read_waypoints_gpxs(
  dir,
  pattern = "[.]gpx$",
  recursive = FALSE,
  crs = getOption("ps.crs", 4326)
)

Arguments

dir

A string of the directory name.

pattern

A string of the pattern to use when searching for files.

recursive

A flag indicating whether to recurse into subdirectories.

crs

An integer of the EPSG for the projection of the points.

Value

An sf object with a tibble of the datetime (POSIXct) and the file path (character) and a sfc_POINT geometry of three dimensional points where the third dimension is the elevation in m.

See Also

ps_read_waypoints_gpx


poissonconsulting/poisspatial documentation built on Nov. 9, 2023, 10:09 a.m.