ISOBand: ISOBand

Description Usage Format Value Fields Methods Author(s) Examples

Description

ISOBand

Usage

1

Format

R6Class object.

Value

Object of R6Class for modelling an ISOBand

Fields

maxValue
minValue
units
peakResponse
bitsPerValue
toneGradation
scaleFactor
offset

Methods

new(xml)

This method is used to instantiate an ISOBand

setMaxValue(maxValue)

Sets the maximum value

setMinValue(minValue)

Sets the minimum value

setUnits(units)

Sets the unit, object of class GMLUnitDefinition

setPeakResponse(peakResponse)

Sets the peak response

setBitsPerValue(bitsPerValue)

Sets the bits per value

setToneGradation

Sets the tone gradation

setScaleFactor(scaleFactor)

Sets the scale factor

setOffset(offset)

Sets the offset

Author(s)

Emmanuel Blondel <[email protected]>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#create band range dimension
   md <- ISOBand$new()
   md$setSequenceIdentifier(ISOMemberName$new(aName = "name", attributeType = "type"))
   md$setDescriptor("descriptor")
   md$setMaxValue(10)
   md$setMinValue(1)
   gml <- GMLBaseUnit$new(id = "ID")
   gml$setDescriptionReference("someref")
   gml$setIdentifier("identifier", "codespace")
   gml$addName("name1", "codespace")
   gml$addName("name2", "codespace")
   gml$setQuantityTypeReference("someref")
   gml$setCatalogSymbol("symbol")
   gml$setUnitsSystem("somelink")
   md$setUnits(gml)
   md$setPeakResponse(9)
   md$setBitsPerValue(5)
   md$setToneGradation(100)
   md$setScaleFactor(1)
   md$setOffset(4)
   xml <- md$encode()

geometa documentation built on Nov. 28, 2017, 5:05 p.m.