Skip to contents

[Stable] This function produces a map of the site boundaries as provided by the DEIMS-SDR catalogue, within a given country and network.

Usage

produce_site_map(
  deimsid,
  scale_location = "bl",
  arrow_location = "tl",
  inset_position = "br"
)

Arguments

deimsid

A character. The DEIMS ID of network from DEIMS-SDR website. DEIMS ID information here.

scale_location

A character. Position of the map scale (e.g. "bl", "br"). Options: "tl" = top-left, "tr" = top-right, "bl" = bottom-left, "br" = bottom-right. Default is "bl".

arrow_location

A character. Position of the north arrow (e.g. "tl", "tr"). Options: "tl" = top-left, "tr" = top-right, "bl" = bottom-left, "br" = bottom-right. Default is "tl".

inset_position

A character. Position of the country overview inset map. Options: "tl" = top-left, "tr" = top-right, "bl" = bottom-left, "br" = bottom-right. Default is "br".

Value

The output of the function is an image of the boundary of the site, OSM as base map and all country sites map.

The function output

Lake Maggiore site map

Author

Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it

Examples

if (FALSE) { # \dontrun{
# Example of Lange Bramke site
siteMap <- produce_site_map(
  deimsid = "https://deims.org/8e24d4f8-d6f6-4463-83e9-73cac2fd3f38"
)

# Example of Eisenwurzen site
siteMap <- produce_site_map(
  deimsid = "https://deims.org/d0a8da18-0881-4ebe-bccf-bc4cb4e25701",
  inset_position = "bl"
)

# Example of Lake Maggiore site
siteMap <- produce_site_map(
  deimsid = "https://deims.org/f30007c4-8a6e-4f11-ab87-569db54638fe",
  scale_location = "bl",
  arrow_location = "tl",
  inset_position = "br"
)
} # }