read_gpx: Read a GPX file.

Description Usage Arguments Value Note

View source: R/tb_bluedjinn.R

Description

Read a GPX file. By default, it reads all possible GPX layers, and only returns shapes for layers that have any features. if the layer has any features a sp object is returned.

Usage

1
2
3
4
read_gpx(
  file,
  layers = c("waypoints", "tracks", "routes", "track_points", "route_points")
)

Arguments

file

a GPX filename (including directory)

layers

vector of GPX layers. Possible options are "waypoints", "tracks", "routes", "track_points", "route_points". By dedault, all those layers are read.

Value

a sp* object containing the gpx track objects

Note

adapted from read_GPX


uavRst documentation built on Dec. 30, 2019, 5:06 p.m.