view_records: View footprints of records

View source: R/view_records.R

view_recordsR Documentation

View footprints of records

Description

view_records and plot_records display the footsprint of each record on a map.

Usage

view_records(
  records,
  show_aoi = TRUE,
  line_colours = hcl.colors(nrow(records)),
  fill_colours = hcl.colors(nrow(records)),
  fill_alpha = 0.3,
  aoi_colour = "deepskyblue",
  verbose = TRUE
)

plot_records(
  records,
  show_aoi = TRUE,
  line_colours = hcl.colors(nrow(records)),
  fill_colours = hcl.colors(nrow(records)),
  fill_alpha = 0.3,
  aoi_colour = "deepskyblue",
  verbose = TRUE
)

Arguments

records

records data frame, containing one or multiple records (each represented by one row), as returned by get_records

show_aoi

logical, whether the session AOI defined with set_aoi should be drawn on the map or plot(s) (TRUE) or not.

line_colours

character, colours for each footprint's outline. Vector must be of same length as number of records (nrow(records)).

fill_colours

character, colours of each footprint's fill. Vector must be of same length as number of records (nrow(records))

fill_alpha

numeric, alpha value for fill_colours. Value must be between 0 (transparent) and 1 (opaque).

aoi_colour

character, colour of the AOI. Ignored, if show_aoi = FALSE.

verbose

logical, whether to display details on the function's progress or output on the console.

Value

None or a mapview/plot object

Author(s)

Jakob Schwalb-Willmann


16EAGLE/getSpatialData documentation built on June 9, 2022, 11:28 a.m.