buildMetadata: Build 'map' object metadata table

View source: R/buildMetadata.R

buildMetadataR Documentation

Build map object metadata table

Description

Build map object metadata table

Usage

buildMetadata(
  metadata,
  isStudyArea,
  isRasterToMatch,
  layerName,
  obj,
  columnNameForLabels,
  objHash,
  leaflet,
  envir,
  ...
)

Arguments

metadata

metadata data.table.

isStudyArea

Logical indicating whether obj a study area.

isRasterToMatch

Logical indicating whether obj is a rasterToMatch layer. If TRUE, then this layer can be accessed by rasterToMatch(map).

layerName

Character specifying a label for this layer.

obj

The geospatial object being added to the map object.

columnNameForLabels

Character specifying the column name to use for labels.

objHash

Character specifying the digest hash of the object.

leaflet

Logical or Character vector of path(s) to write tiles. If TRUE or a character vector, then this layer will be added to a leaflet map. For RasterLayer or SpatRaster object, this will make tiles. If path is not specified, it will be the current path. The tile base file path will be paste0(layerName, "_", rndstr(1, 6)).

envir

TODO: description needed

...

Additional arguments.


PredictiveEcology/map documentation built on June 15, 2025, 6:15 a.m.