walkMap: Visualize tracks that form a walk.

View source: R/maps.R

walkMapR Documentation

Visualize tracks that form a walk.

Description

Create a map or plot elevations for tracks in a data frame that form a contiguous “walk”.

Usage

walkMap(
  dat,
  clrs,
  LAT_bottom = NULL,
  LAT_top = NULL,
  LON_left = NULL,
  LON_right = NULL,
  map_bufr = 4e-05,
  label_tracks = TRUE,
  verbose = TRUE
)

allTracksMap(
  dat,
  clrs,
  LAT_bottom = NULL,
  LAT_top = NULL,
  LON_left = NULL,
  LON_right = NULL,
  map_bufr = 4e-05,
  walk = NULL,
  verbose = TRUE
)

Arguments

dat

A data frame that contains tracks to map, contiguous tracks for walkMap that are usually made with walkMaker and all tracks for allTracksMap.

clrs

A named vector of colors that will be applied to identify tracks by Type in dat.

LAT_bottom

A latitude coordinate for the bottom of the bounding box for the map. Defaults to just below the minimum latitude found in trkdata.

LAT_top

A latitude coordinate for the top of the bounding box for the map. Defaults to just above the maximum latitude found in trkdata.

LON_left

A longitude coordinate for the left-side of the bounding box for the map. Defaults to just left of the minimum latitude found in trkdata.

LON_right

A longitude coordinate for the right-side of the bounding box for the map. Defaults to just right the maximum latitude found in trkdata.

map_bufr

A numeric that makes the map slightly larger than the space that the track paths require.

label_tracks

A logical for whether (or not) the tracks should be labeled with a unique number in walkMap or the track ID in allTracksMap.

verbose

A logical for whether progress messages should be displayed or not.

walk

A ggplot2 object made with walkMap that will be used to highlight the “walk” on the map of all tracks.

Details

NONE YET

Value

Returns a leaflet object that is the map. The map will be displayed if the returned object is not assigned a name.

Author(s)

Derek H. Ogle

See Also

walkSummary

Examples

## None yet.


droglenc/gpxhelpers documentation built on Dec. 12, 2024, 1:33 a.m.