ISORepresentativeFraction

ISORepresentativeFraction

Format

R6Class object.

Value

Object of R6Class for modelling an ISO RepresentativeFraction

References

ISO 19115:2003 - Geographic information -- Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISORepresentativeFraction

Public fields

denominator

denominator

Methods

Inherited methods


Method new()

Initializes object

Usage

ISORepresentativeFraction$new(xml = NULL, denominator)

Arguments

xml

object of class XMLInternalNode-class

denominator

denominator


Method setDenominator()

Set denominator

Usage

ISORepresentativeFraction$setDenominator(denominator)

Arguments

denominator

object of class integer


Method clone()

The objects of this class are cloneable with this method.

Usage

ISORepresentativeFraction$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  fr <- ISORepresentativeFraction$new(denominator = 1L)
  xml1 <- fr$encode()
#> [geometa][INFO] Object 'ISORepresentativeFraction' is VALID according to ISO 19139 XML schemas! 
  fr$setDenominator(2L)
  xml2 <- fr$encode()
#> [geometa][INFO] Object 'ISORepresentativeFraction' is VALID according to ISO 19139 XML schemas!