Skip to contents

This class models a GeoServer resource dimension.

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer dimension

Details

Geoserver REST API Dimension

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geosapi::GSRESTResource -> GSDimension

Public fields

enabled

true/false

presentation

dimension presentation

resolution

dimension resolution

units

dimension units

unitSymbol

dimension unitsSymbol

Methods

Inherited methods


Method new()

Initializes an object of class GSDimension

Usage

GSDimension$new(xml = NULL)

Arguments

xml

object of class xml_node-class


Method decode()

Decodes from XML

Usage

GSDimension$decode(xml)

Arguments

xml

object of class xml_node-class


Method setEnabled()

Set enabled

Usage

GSDimension$setEnabled(enabled)

Arguments

enabled

enabled


Method setPresentation()

Set presentation

Usage

GSDimension$setPresentation(presentation, interval = NULL)

Arguments

presentation

presentation. Possible values: "LIST", "CONTINUOUS_INTERVAL", "DISCRETE_INTERVAL"

interval

interval


Method setUnit()

Set unit

Usage

GSDimension$setUnit(unit)

Arguments

unit

unit


Method setUnitSymbol()

Set unit symbol

Usage

GSDimension$setUnitSymbol(unitSymbol)

Arguments

unitSymbol

unit symbol


Method clone()

The objects of this class are cloneable with this method.

Usage

GSDimension$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  dim <- GSDimension$new()