Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kml_metadata

Add metadata table to the active layer


Description

Adds a selection of metadata to the description box of an active layer.

Usage

## S4 method for signature 'SpatialMetadata'
kml_metadata(obj, cwidth = 150, twidth = 500, asText = FALSE)

Arguments

obj

object of class "SpatialMetadata"

cwidth

html column width for the field names

twidth

html total table width

asText

logical; return the output as XML or characters

Details

The kml_metadata function, by default, prints out only a number of selected metadata fields:

  1. "Citation_title",

  2. "Abstract",

  3. "Object_Count",

  4. "Beginning_Date",

  5. "Ending_Date",

  6. "Data_Order_URL",

  7. "Other_Citation_Details",

  8. "Citation_URL",

  9. "Data_Set_Credit",

  10. "Data_Distributing_Organization",

  11. "Format_Information_Content",

  12. "Native_Data_Set_Environment"

See data(mdnames) for a complete list of metadata fields.

Author(s)

Tomislav Hengl

See Also


plotKML

Visualization of Spatial and Spatio-Temporal Objects in Google Earth

v0.8-1
GPL
Authors
Tomislav Hengl [cre, aut], Andrea Gilardi [ctb], Pierre Roudier [ctb], Dylan Beaudette [ctb], Edzer Pebesma [ctb], Michael Blaschek [ctb]
Initial release
2021-04-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.