Description Slots Methods Author(s) See Also Examples
A class containing spatial metadata in the Federal Geographic Data Committee (FGDC) Content Standard for Digital Geospatial Metadata.
xml
:object of class "XMLInternalDocument"; a metadata slot
field.names
:object of class "character"; corresponding metadata column names
palette
:object of class "sp.palette"; contains legend names and colors
sp
:object of class "Spatial"; bounding box and projection system of the input object
signature(obj = "SpatialMetadata")
: summarize object
signature(obj = "SpatialMetadata")
: get only the color slot
signature(obj = "SpatialMetadata")
: get metadata field names
Tomislav Hengl and Michael Blaschek
spMetadata
, metadata2SLD-methods
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
data(eberg)
library(sp)
coordinates(eberg) <- ~X+Y
proj4string(eberg) <- CRS("+init=epsg:31467")
names(eberg)
# add metadata:
eberg.md <- spMetadata(eberg, xml.file=system.file("eberg.xml", package="plotKML"),
Target_variable="SNDMHT_A")
p <- GetPalette(eberg.md)
str(p)
x <- summary(eberg.md)
str(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.