ISOResolution

ISOResolution

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Resolution

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOResolution

Public fields

equivalentScale

equivalentScale

distance

distance

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOResolution$new(xml = NULL, defaults = list())

Arguments

xml

object of class XMLInternalNode-class

defaults

list of defaults


Method setEquivalentScale()

Set equivalent scale

Usage

ISOResolution$setEquivalentScale(equivalentScale)

Arguments

equivalentScale

object of class ISORepresentativeFraction or numeric


Method setDistance()

Set distance

Usage

ISOResolution$setDistance(distance)

Arguments

distance

object of class ISODistance


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOResolution$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOResolution$new()
  md$setDistance(ISODistance$new(value = 1, uom = "m", useUomURI = TRUE))
  xml <- md$encode()
#> [geometa][INFO] Object 'ISOResolution' is VALID according to ISO 19139 XML schemas!