ISOCoverageDescription function

ISOCoverageDescription

ISOCoverageDescription

ISOCoverageDescription

ISOCoverageDescription class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISOCoverageDescription

Examples

#create coverage description md <- ISOCoverageDescription$new() md$setAttributeDescription("test") md$setContentType("modelResult") #adding 3 arbitrary dimensions for(i in 1:3){ band <- ISOBand$new() mn <- ISOMemberName$new(aName = sprintf("name %s",i), attributeType = sprintf("type %s",i)) band$setSequenceIdentifier(mn) band$setDescriptor("descriptor") band$setMaxValue(10) band$setMinValue(1) gml <- GMLBaseUnit$new(id = sprintf("ID%s",i)) gml$setDescriptionReference("someref") gml$setIdentifier("identifier", "codespace") gml$addName("name1", "codespace") gml$addName("name2", "codespace") gml$setQuantityTypeReference("someref") gml$setCatalogSymbol("symbol") gml$setUnitsSystem("somelink") band$setUnits(gml) band$setPeakResponse(9) band$setBitsPerValue(5) band$setToneGradation(100) band$setScaleFactor(1) band$setOffset(4) md$addDimension(band) } xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractContentInformation -> ISOCoverageDescription

Public fields

  • attributeDescription: attributeDescription: ISoRecordType

  • contentType: contentType: ISOCoverageContentType

  • dimension: dimension: ISORangeDimension

Methods

Public methods

Method new()

Initializes object

Usage

ISOCoverageDescription$new(xml = NULL)

Arguments

  • xml: object of class XMLInternalNode-class

Method setAttributeDescription()

Set attribute description

Usage

ISOCoverageDescription$setAttributeDescription(attributeDescription)

Arguments

  • attributeDescription: attribute description, object of class ISORecordType or character

Method setContentType()

Set content type

Usage

ISOCoverageDescription$setContentType(contentType)

Arguments

  • contentType: contentType, object of class ISOCoverageContentType or character

Method addDimension()

Adds dimension

Usage

ISOCoverageDescription$addDimension(dimension)

Arguments

  • dimension: object of class ISORangeDimension

Returns

TRUE if added, FALSE otherwise

Method delDimension()

Deletes dimension

Usage

ISOCoverageDescription$delDimension(dimension)

Arguments

  • dimension: object of class ISORangeDimension

Returns

TRUE if deleted, FALSE otherwise

Method clone()

The objects of this class are cloneable with this method.

Usage

ISOCoverageDescription$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29