Learn R Programming

geosapi (version 0.5-1)

GSWorkspaceSettings: Geoserver REST API Workspace Setting

Description

Geoserver REST API Workspace Setting

Arguments

Value

Object of R6Class for modelling a GeoServer workspace settings

Format

R6Class object.

Methods

new(xml)

This method is used to instantiate a GSWorkspaceSettings. This settings object is required to activate a workspace configuration, using the method GSManager$createWorkspaceSettings. Supported from GeoServer 2.12

decode(xml)

This method is used to decode a GSWorkspaceSettings from XML

encode()

This method is used to encode a GSWorkspaceSettings to XML. Inherited from the generic GSRESTResource encoder

setCharset(charset)

Set charset

setNumDecimals(numDecimals)

Set number of decimals

setOnlineResource(onlineResource)

Set the online resource

setVerbose(verbose)

Set verbose

setVerboseExceptions(verboseExceptions)

Set verbose exceptions

setLocalWorkspaceIncludesPrefix(includesPrefix)

Set if the Local workspace includes prefix

Examples

Run this code
# NOT RUN {
settings <- GSWorkspaceSettings$new()
settings$setCharset("UTF-8")
settings$setNumDecimals(5)

# }

Run the code above in your browser using DataLab