| GSLayerGroup | R Documentation |
This class models a GeoServer layer group. This class is to be used for clustering layers into a group.
R6Class object.
Geoserver REST API LayerGroup
Object of R6Class for modelling a GeoServer layergroup
geosapi::GSRESTResource -> GSLayerGroup
fullfull
namename
modemode
titletitle
abstractTxtabstract
workspaceworkspace
publishablespublishables
stylesstyles
metadataLinksmetadata links
boundsbounds
new()Initializes an object of class GSLayerGroup
GSLayerGroup$new(xml = NULL)
xmlobject of class xml_node-class
decode()Decodes from XML
GSLayerGroup$decode(xml)
xmlobject of class xml_node-class
setName()Set name
GSLayerGroup$setName(name)
namename
setMode()Set mode
GSLayerGroup$setMode(mode)
modea mode value among "SINGLE", "NAMED", "CONTAINER", "EO"
setTitle()Set title
GSLayerGroup$setTitle(title)
titletitle
setAbstract()Set abstract
GSLayerGroup$setAbstract(abstract)
abstractabstract
setWorkspace()Set workspace
GSLayerGroup$setWorkspace(workspace)
workspaceworkspace name, object of class GSWorkspace or character
addLayer()Adds layer
GSLayerGroup$addLayer(layer, style)
layerlayer name
stylestyle name
addLayerGroup()Adds layer group
GSLayerGroup$addLayerGroup(layerGroup)
layerGrouplayer group
addPublishable()Adds publishable
GSLayerGroup$addPublishable(publishable)
publishablepublishable
TRUE if added, FALSE otherwise
setStyles()Set styles
GSLayerGroup$setStyles(styles)
stylesstyles
addStyle()Adds a style
GSLayerGroup$addStyle(style)
stylestyle
TRUE if added, FALSE otherwise
setMetadataLinks()Set metadata links
GSLayerGroup$setMetadataLinks(metadataLinks)
metadataLinksmetadata links
addMetadataLink()Adds metadata link
GSLayerGroup$addMetadataLink(metadataLink)
metadataLinkobject of class GSMetadataLink
TRUE if added, FALSE otherwise
deleteMetadataLink()Deletes metadata link
GSLayerGroup$deleteMetadataLink(metadataLink)
metadataLinkobject of class GSMetadataLink
TRUE if deleted, FALSE otherwise
setBounds()Set bounds
GSLayerGroup$setBounds(minx, miny, maxx, maxy, bbox = NULL, crs)
minxminx
minyminy
maxxmaxx
maxymaxy
bboxbbox
crscrs
clone()The objects of this class are cloneable with this method.
GSLayerGroup$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
lyr <- GSLayerGroup$new()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.