Learn R Programming

geosapi (version 0.5)

GSServiceSettings: A GeoServer service settings resource

Description

This class models a GeoServer OWS service settings.

Arguments

Value

Object of R6Class for modelling a GeoServer OWS service setting

Format

R6Class object.

Fields

verbose

Methods

new(rootName, xml)

This method is used to instantiate a GSServiceSettings. This settings object is required to model/manipulate an OGC service configuration, using the method GSManager$updateServiceSettings or derivates.

decode(xml)

This method is used to decode a GSServiceSettings from XML

encode()

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

setEnabled(enabled)

Sets if the service is enabled (TRUE) or not (FALSE)

setCiteCompliant(citeCompliant)

Sets if the service is compliant with CITE (TRUE) or not (FALSE)

setName(name)

Sets the service name

setTitle(title)

Sets the service title

setAbstract(abstract)

Sets the service abstract

setMaintainer(maintainer)

Sets the service maintainer

setKeywords(keywords)

Sets a list of keywords

addKeyword(keyword)

Sets a keyword. Returns TRUE if set, FALSE otherwise

delKeyword(keyword)

Deletes a keyword. Returns TRUE if deleted, FALSE otherwise

setOnlineResource(onlineResource)

Sets the online resource

setSchemaBaseURL(schemaBaseURL)

Sets the schema base URL. Default is http://schemas.opengis.net

setVerbose(verbose)

Sets verbose

Details

Geoserver REST API Service Setting

Examples

Run this code
# NOT RUN {
settings <- GSServiceSettings$new(service = "WMS")
settings$setEnabled(TRUE)

# }

Run the code above in your browser using DataLab