Usage
## S3 method for class 'RasterLayer':
spMetadata(obj, Target_variable, bounds, color, \dots )
## S3 method for class 'Spatial':
spMetadata(obj, xml.file, generate.missing = TRUE, Citation_title,
Target_variable, Attribute_Measurement_Resolution = 1,
Attribute_Units_of_Measure = "NA",
Indirect_Spatial_Reference = "", GoogleGeocode = FALSE,
Enduser_license_URL = get("license_url", envir = plotKML.opts),
signif.digit = 3, colour_scale, bounds, legend_names, icons,
validate.schema = FALSE, Target_variable_descr = "NA",
Geosp_Data_Presentation_Form, Edition, Purpose, Abstract,
Supplinf, Publisher, Pub_Place, Temp_Ext,
Update_Freq = c("Unknown", "Continually", "Daily", "Weekly",
"Monthly", "Annually", "As needed", "Irregular", "None planned"),
Stat_Progress = c("Complete", "In work", "Planned"),
Spatial_Represent_Type = c("Point", "Vector", "Raster"),
Keyw_theme, Keyw_place )Arguments
obj
some "Spatial" or "Raster" class object with "data" slot
xml.file
character; optional XML metadata file
generate.missing
logical; specifies whether to automatically generate missing fields
Citation_title
character; title of the bibliographic reference for this data set
Target_variable
character; target variable name
Attribute_Measurement_Resolution
numeric; detection limit i.e. measurement precision
Attribute_Units_of_Measure
character; measurement units
Indirect_Spatial_Reference
character; location name as on the topographic map
GoogleGeocode
logical; specifies whether the function should try to use GoogleGeocoding functionality to determine the location name
Enduser_license_URL
character; URL to the end user license
signif.digit
integer; the default number of significant digits (in the case of rounding)
colour_scale
the colour scheme used to visualize this data
bounds
numeric vector; upper and lower bounds used for visualization
color
character; colour legend (must match the bounds vector)
legend_names
character; legend names in the order of bounds
icons
character; file name or URL used for icons (if applicable)
validate.schema
logical; specifies whether to validate the schema using the xmlSchemaValidate
Target_variable_descr
character; specifies target variable description for eainfo-node 'attrdef'
Geosp_Data_Presentation_Form
character; defines node 'geoform'
Edition
defines the version of the title
Purpose
defines the purpose of the given layer
Abstract
defines the abstract of the given layer
Supplinf
defines the supplemental information of the given layer
Publisher
defines publishing organization (or individual)
Pub_Place
defines publication place ('pubplace')
Temp_Ext
defines temporal extent start/end
Update_Freq
defines update frequency
Stat_Progress
defines progress status
Spatial_Represent_Type
defines direct node (direct spatial reference method)
Keyw_theme
defines node(s) 'themekey'
Keyw_place
defines node(s) 'placekey'
...
additional arguments to be passed