kml_metadata-methods | R Documentation |
Adds a selection of metadata to the description box of an active layer.
## S4 method for signature 'SpatialMetadata' kml_metadata(obj, cwidth = 150, twidth = 500, asText = FALSE)
obj |
object of class |
cwidth |
html column width for the field names |
twidth |
html total table width |
asText |
logical; return the output as XML or characters |
The kml_metadata
function, by default, prints out only a number of selected metadata fields:
"Citation_title"
,
"Abstract"
,
"Object_Count"
,
"Beginning_Date"
,
"Ending_Date"
,
"Data_Order_URL"
,
"Other_Citation_Details"
,
"Citation_URL"
,
"Data_Set_Credit"
,
"Data_Distributing_Organization"
,
"Format_Information_Content"
,
"Native_Data_Set_Environment"
See data(mdnames)
for a complete list of metadata fields.
Tomislav Hengl
spMetadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.