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
full
full
name
name
mode
mode
title
title
abstractTxt
abstract
workspace
workspace
publishables
publishables
styles
styles
metadataLinks
metadata links
bounds
bounds
new()
Initializes an object of class GSLayerGroup
GSLayerGroup$new(xml = NULL)
xml
object of class xml_node-class
decode()
Decodes from XML
GSLayerGroup$decode(xml)
xml
object of class xml_node-class
setName()
Set name
GSLayerGroup$setName(name)
name
name
setMode()
Set mode
GSLayerGroup$setMode(mode)
mode
a mode value among "SINGLE", "NAMED", "CONTAINER", "EO"
setTitle()
Set title
GSLayerGroup$setTitle(title)
title
title
setAbstract()
Set abstract
GSLayerGroup$setAbstract(abstract)
abstract
abstract
setWorkspace()
Set workspace
GSLayerGroup$setWorkspace(workspace)
workspace
workspace name, object of class GSWorkspace or character
addLayer()
Adds layer
GSLayerGroup$addLayer(layer, style)
layer
layer name
style
style name
addLayerGroup()
Adds layer group
GSLayerGroup$addLayerGroup(layerGroup)
layerGroup
layer group
addPublishable()
Adds publishable
GSLayerGroup$addPublishable(publishable)
publishable
publishable
TRUE
if added, FALSE
otherwise
setStyles()
Set styles
GSLayerGroup$setStyles(styles)
styles
styles
addStyle()
Adds a style
GSLayerGroup$addStyle(style)
style
style
TRUE
if added, FALSE
otherwise
setMetadataLinks()
Set metadata links
GSLayerGroup$setMetadataLinks(metadataLinks)
metadataLinks
metadata links
addMetadataLink()
Adds metadata link
GSLayerGroup$addMetadataLink(metadataLink)
metadataLink
object of class GSMetadataLink
TRUE
if added, FALSE
otherwise
deleteMetadataLink()
Deletes metadata link
GSLayerGroup$deleteMetadataLink(metadataLink)
metadataLink
object of class GSMetadataLink
TRUE
if deleted, FALSE
otherwise
setBounds()
Set bounds
GSLayerGroup$setBounds(minx, miny, maxx, maxy, bbox = NULL, crs)
minx
minx
miny
miny
maxx
maxx
maxy
maxy
bbox
bbox
crs
crs
clone()
The objects of this class are cloneable with this method.
GSLayerGroup$clone(deep = FALSE)
deep
Whether 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.