Learn R Programming

geometa (version 0.6-2)

ISOImageryBand: ISOImageryBand

Description

ISOImageryBand

Usage

ISOImageryBand

Arguments

Value

Object of R6Class for modelling an ISO imagery band

Format

R6Class object.

Fields

bandBoundaryDefinition

[ISOImageryBandDefinition]

nominalSpatialResolution

[numeric]

transferFunctionType

[ISOImageryTransferFunctionType]

transmittedPolarisation

[ISOImageryPolarisationOrientation]

detectedPolarisation

[ISOImageryPolarisationOrientation]

Methods

new(xml)

This method is used to instantiate an ISOImageryBand

setBandBoundaryDefinition(definition)

Set the band boundary definition, object of class ISOImageryBandDefinition or character among values available by ISOImageryBandDefinition$values()

setNominalSpatialResolution(resolution)

Set the nominal spatial reosolution, object of class numeric

setTransmittedPolarisation(polarisation)

Set the transmitted polarisation, object of class ISOImageryPolarisationOrientation or character among values returned by ISOImageryPolarisationOrientation$values()

setDetectedPolarisation(polarisation)

Set the detected polarisation, object of class ISOImageryPolarisationOrientation or character among values returned by ISOImageryPolarisationOrientation$values()

Methods inherited from <code><a rd-options="" href="/link/ISOBand?package=geometa&version=0.6-2" data-mini-rdoc="geometa::ISOBand">ISOBand</a></code>

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

Examples

Run this code
# NOT RUN {
   #create band range dimension
   md <- ISOImageryBand$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)
   
   md$setBandBoundaryDefinition("fiftyPercent")
   md$setNominalSpatialResolution(14.5)
   md$setTransferFunctionType("linear")
   md$setTransmittedPolarisation("horizontal")
   md$setDetectedPolarisation("horizontal")
   
   xml <- md$encode()

# }

Run the code above in your browser using DataLab