Learn R Programming

plotKML (version 0.5-4)

metadata2SLD-methods: Methods to create a Styled Layer Description (SLD) file

Description

Creates a http://docs.geoserver.org/stable/en/user/styling/sld-introduction.html{Styled Layer Description} (SLD) file, that can be attached to a spatial layer contributed to GeoServer. It writes the "sp.pallete" object (legend entries, titles and colors) to an external file.

Usage

## S3 method for class 'SpatialMetadata':
metadata2SLD(obj, \dots)

Arguments

obj
object of class "SpatialMetadata"
...
other arguments

Details

The structure of the SLD file is determined by the object class (Point, Polygon, SpatialPixels).

See Also

metadata2SLD.SpatialPixels, spMetadata