GSLayerManager | R Documentation |
Geoserver REST API Layer Manager
Geoserver REST API Layer Manager
R6Class
object.
Object of R6Class
with methods for managing GeoServer
Layers as results of published feature types or coverages
geosapi::GSManager
-> GSLayerManager
geosapi::GSManager$ERROR()
geosapi::GSManager$INFO()
geosapi::GSManager$WARN()
geosapi::GSManager$connect()
geosapi::GSManager$getClassName()
geosapi::GSManager$getCoverageStoreManager()
geosapi::GSManager$getDataStoreManager()
geosapi::GSManager$getNamespaceManager()
geosapi::GSManager$getServiceManager()
geosapi::GSManager$getStyleManager()
geosapi::GSManager$getSystemStatus()
geosapi::GSManager$getUrl()
geosapi::GSManager$getWorkspaceManager()
geosapi::GSManager$initialize()
geosapi::GSManager$logger()
geosapi::GSManager$monitor()
geosapi::GSManager$reload()
getLayers()
Get the list of layers.
GSLayerManager$getLayers()
an object of class list
giving items of class GSLayer
getLayerNames()
Get the list of layer names.
GSLayerManager$getLayerNames()
a vector of class character
getLayer()
Get layer by name
GSLayerManager$getLayer(lyr)
lyr
layer name
an object of class GSLayer
createLayer()
Creates a new layer given an object of class GSLayer
GSLayerManager$createLayer(layer)
layer
object of class GSLayer
TRUE
if created, FALSE
otherwise
updateLayer()
Updates a layer given an object of class GSLayer
GSLayerManager$updateLayer(layer)
layer
object of class GSLayer
TRUE
if updated, FALSE
otherwise
deleteLayer()
Deletes layer given an object of class GSLayer
GSLayerManager$deleteLayer(lyr)
lyr
layer name
TRUE
if deleted, FALSE
otherwise
getLayerGroups()
Get layer groups
GSLayerManager$getLayerGroups(ws = NULL)
ws
workspace name. Optional
a list of objects of class GSLayerGroup
getLayerGroupNames()
Get layer group names
GSLayerManager$getLayerGroupNames(ws = NULL)
ws
workspace name
a list of layer group names, as vector of class character
getLayerGroup()
Get layer group
GSLayerManager$getLayerGroup(lyr, ws = NULL)
lyr
lyr
ws
workspace name
an object of class GSLayerGroup
createLayerGroup()
Creates a layer group
GSLayerManager$createLayerGroup(layerGroup, ws = NULL)
layerGroup
object of class GSLayerGroup
ws
workspace name. Optional
TRUE
if created, FALSE
otherwise
updateLayerGroup()
Updates a layer group
GSLayerManager$updateLayerGroup(layerGroup, ws = NULL)
layerGroup
object of class GSLayerGroup
ws
workspace name. Optional
TRUE
if updated, FALSE
otherwise
deleteLayerGroup()
Deletes a layer group
GSLayerManager$deleteLayerGroup(lyr, ws = NULL)
lyr
layer group name
ws
workspace name. Optional
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
GSLayerManager$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
## Not run:
GSLayerManager$new("http://localhost:8080/geoserver", "admin", "geoserver")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.