Learn R Programming

plotKML (version 0.5-4)

SpatialMetadata-class: A class for spatial metadata

Description

A class containing spatial metadata in the http://www.fgdc.gov/metadata/csdgm/{Federal Geographic Data Committee (FGDC) Content Standard for Digital Geospatial Metadata}.

Arguments

See Also

spMetadata, metadata2SLD-methods

Examples

Run this code
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)

Run the code above in your browser using DataLab