Geoserver REST API GSCoverageBand
Geoserver REST API GSCoverageBand
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 GSCoverageBand
from XML
encode()
This method is used to encode a GSCoverageBand
to 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
Author
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Public fields
inputCoverageBands
list of input coverage bands
definition
coverage band definition
index
coverage band index
compositionType
coverage band composition type
Methods
Inherited methods
Method new()
Initalizes a GSCoverageBand
Arguments
xml
object of class xml_node-class
Method decode()
Decodes from XML
Usage
GSCoverageBand$decode(xml)
Arguments
xml
object of class xml_node-class
Method setName()
Set name
Usage
GSCoverageBand$setName(name)
Method setDefinition()
Set definition
Usage
GSCoverageBand$setDefinition(definition)
Method setIndex()
Set index
Usage
GSCoverageBand$setIndex(index)
Method setCompositionType()
Set composition type
Usage
GSCoverageBand$setCompositionType(compositionType)
Arguments
compositionType
composition type
Adds an input band
Usage
GSCoverageBand$addInputBand(band)
Returns
TRUE
if added, FALSE
otherwise
Deletes an input band
Usage
GSCoverageBand$delInputBand(band)
Returns
TRUE
if deleted, FALSE
otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GSCoverageBand$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
GSCoverageBand$new()
#> <GSCoverageBand>
#> ....|-- compositionType: BAND_SELECT