This class models a GeoServer layer group. This class is to be
used for clustering layers into a group.
Value
Object of R6Class
for modelling a GeoServer layergroup
Details
Geoserver REST API LayerGroup
Author
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Public fields
full
full
name
name
mode
mode
title
title
abstractTxt
abstract
workspace
workspace
publishables
publishables
styles
styles
metadataLinks
metadata links
bounds
bounds
Methods
Inherited methods
Method new()
Initializes an object of class GSLayerGroup
Arguments
xml
object of class xml_node-class
Method decode()
Decodes from XML
Arguments
xml
object of class xml_node-class
Method setName()
Set name
Usage
GSLayerGroup$setName(name)
Method setMode()
Set mode
Usage
GSLayerGroup$setMode(mode)
Arguments
mode
a mode value among "SINGLE", "NAMED", "CONTAINER", "EO"
Method setTitle()
Set title
Usage
GSLayerGroup$setTitle(title)
Method setAbstract()
Set abstract
Usage
GSLayerGroup$setAbstract(abstract)
Method setWorkspace()
Set workspace
Usage
GSLayerGroup$setWorkspace(workspace)
Arguments
workspace
workspace name, object of class GSWorkspace or character
Method addLayer()
Adds layer
Usage
GSLayerGroup$addLayer(layer, style)
Arguments
layer
layer name
style
style name
Method addLayerGroup()
Adds layer group
Usage
GSLayerGroup$addLayerGroup(layerGroup)
Method addPublishable()
Adds publishable
Usage
GSLayerGroup$addPublishable(publishable)
Returns
TRUE
if added, FALSE
otherwise
Method setStyles()
Set styles
Usage
GSLayerGroup$setStyles(styles)
Method addStyle()
Adds a style
Usage
GSLayerGroup$addStyle(style)
Returns
TRUE
if added, FALSE
otherwise
Set metadata links
Usage
GSLayerGroup$setMetadataLinks(metadataLinks)
Arguments
metadataLinks
metadata links
Adds metadata link
Usage
GSLayerGroup$addMetadataLink(metadataLink)
Returns
TRUE
if added, FALSE
otherwise
Deletes metadata link
Usage
GSLayerGroup$deleteMetadataLink(metadataLink)
Returns
TRUE
if deleted, FALSE
otherwise
Method setBounds()
Set bounds
Usage
GSLayerGroup$setBounds(minx, miny, maxx, maxy, bbox = NULL, crs)
Arguments
minx
minx
miny
miny
maxx
maxx
maxy
maxy
bbox
bbox
crs
crs
Method clone()
The objects of this class are cloneable with this method.
Usage
GSLayerGroup$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
lyr <- GSLayerGroup$new()