| GSCoverageBand {geosapi} | R Documentation |
Geoserver REST API GSCoverageBand
Description
Geoserver REST API GSCoverageBand
Geoserver REST API GSCoverageBand
Format
R6Class object.
Value
Object of R6Class for modelling a GeoServer coverage band
Methods
new(xml)-
This method is used to instantiate a
GSCoverageBand decode(xml)-
This method is used to decode a
GSCoverageBandfrom XML encode()-
This method is used to encode a
GSCoverageBandto XML setDefinition(definition)-
Sets the coverage band definition
setIndex(index)-
Sets the coverage band index
setCompositionType-
Sets the composition type. Only 'BAND_SELECT' is supported by GeoServer for now.
addInputBand(band)-
Adds a input coverage band, object of class
GSInputCoverageBand delInputBand(band)-
Removes a input coverage band, object of class
GSInputCoverageBand
Super class
geosapi::GSRESTResource -> GSCoverageBand
Public fields
inputCoverageBandslist of input coverage bands
definitioncoverage band definition
indexcoverage band index
compositionTypecoverage band composition type
Methods
Public methods
Inherited methods
Method new()
Initalizes a GSCoverageBand
Usage
GSCoverageBand$new(xml = NULL)
Arguments
xmlobject of class xml_node-class
Method decode()
Decodes from XML
Usage
GSCoverageBand$decode(xml)
Arguments
xmlobject of class xml_node-class
Method setName()
Set name
Usage
GSCoverageBand$setName(name)
Arguments
namename
Method setDefinition()
Set definition
Usage
GSCoverageBand$setDefinition(definition)
Arguments
definitiondefinition
Method setIndex()
Set index
Usage
GSCoverageBand$setIndex(index)
Arguments
indexindex
Method setCompositionType()
Set composition type
Usage
GSCoverageBand$setCompositionType(compositionType)
Arguments
compositionTypecomposition type
Method addInputBand()
Adds an input band
Usage
GSCoverageBand$addInputBand(band)
Arguments
bandobject of class GSInputCoverageBand
Returns
TRUE if added, FALSE otherwise
Method delInputBand()
Deletes an input band
Usage
GSCoverageBand$delInputBand(band)
Arguments
bandobject of class GSInputCoverageBand
Returns
TRUE if deleted, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GSCoverageBand$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
GSCoverageBand$new()