This class models a GeoServer layer. This class is to be
used for published resource (feature type or coverage).
This class models a GeoServer style.
R6Class
object.
R6Class
object.
Value
Object of R6Class
for modelling a GeoServer layer
Object of R6Class
for modelling a GeoServer style
Details
Geoserver REST API Resource
Geoserver REST API Style
Author
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Public fields
full
full
name
name
path
path
defaultStyle
default style
styles
styles
enabled
enabled
queryable
queryable
advertised
advertised
Methods
Inherited methods
Method new()
Initializes an object of class GSLayer
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
Method setPath()
Set path
Method setEnabled()
Set enabled
Usage
GSLayer$setEnabled(enabled)
Method setQueryable()
Set queryable
Usage
GSLayer$setQueryable(queryable)
Method setAdvertised()
Set advertised
Usage
GSLayer$setAdvertised(advertised)
Method setDefaultStyle()
Set default style
Usage
GSLayer$setDefaultStyle(style)
Arguments
style
object o class GSStyle or character
Method setStyles()
Set styles
Usage
GSLayer$setStyles(styles)
Method addStyle()
Adds style
Arguments
style
style, object o class GSStyle or character
Returns
TRUE
if added, FALSE
otherwise
Method delStyle()
Deletes style
Arguments
style
style, object o class GSStyle or character
Returns
TRUE
if deleted, FALSE
otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GSLayer$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Public fields
full
full
name
name
filename
filename
Methods
Inherited methods
Method new()
Initializes a GSStyle
Usage
GSStyle$new(xml = NULL, name = NULL, filename = NULL)
Arguments
xml
an object of class xml_node-class
name
name
filename
filename
Method decode()
Decodes from XML
Arguments
xml
an object of class xml_node-class
Method setName()
set name
Method setFilename()
Set filename
Usage
GSStyle$setFilename(filename)
Method clone()
The objects of this class are cloneable with this method.
Usage
GSStyle$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
lyr <- GSLayer$new()
lyr <- GSStyle$new()