ISOImageryBand

ISOImageryBand

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery band

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

bandBoundaryDefinition

bandBoundaryDefinition [0..1]: ISOImageryBandDefinition

nominalSpatialResolution

nominalSpatialResolution [0..1] ISOBaseReal

transferFunctionType

transferFunctionType [0..1]: ISOImageryTransferFunctionType

transmittedPolarisation

transmittedPolarisation [0..1]: ISOImageryPolarisationOrientation

detectedPolarisation

detectedPolarisation [0..1]: ISOImageryPolarisationOrientation

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImageryBand$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setBandBoundaryDefinition()

Set band boundary definition

Usage

ISOImageryBand$setBandBoundaryDefinition(definition)

Arguments

definition

object of class ISOImageryBandDefinition or character among values returned by ISOImageryBandDefinition$values()


Method setNominalSpatialResolution()

Set nominal spatial resolution

Usage

ISOImageryBand$setNominalSpatialResolution(resolution)

Arguments

resolution

object of class numeric


Method setTransferFunctionType()

Set transfer function type

Usage

ISOImageryBand$setTransferFunctionType(functionType)

Arguments

functionType

object of class ISOImageryTransferFunctionType or any character from values returned by ISOImageryTransferFunctionType$values()


Method setTransmittedPolarisation()

Set transmitted polarisation

Usage

ISOImageryBand$setTransmittedPolarisation(polarisation)

Arguments

polarisation

object of class ISOImageryPolarisationOrientation or any character from values returned by ISOImageryPolarisationOrientation$values()


Method setDetectedPolarisation()

Set detected polarisation

Usage

ISOImageryBand$setDetectedPolarisation(polarisation)

Arguments

polarisation

object of class ISOImageryPolarisationOrientation or any character from values returned by ISOImageryPolarisationOrientation$values()


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryBand$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   #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")
#> [1] TRUE
   gml$addName("name2", "codespace")
#> [1] TRUE
   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()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_Band': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImageryBand' is INVALID according to ISO 19139 XML schemas!