ISODimension: ISODimension

ISODimensionR Documentation

ISODimension

Description

ISODimension

ISODimension

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Dimension

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISODimension

Public fields

dimensionName

dimensionName [1..1]: ISODimensionNameType

dimensionSize

dimensionSize [1..1]: integer

resolution

resolution [0..1]: ISOMeasure or subclass

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISODimension$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setName()

Set name

Usage
ISODimension$setName(name)
Arguments
name

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


Method setSize()

Set size

Usage
ISODimension$setSize(size)
Arguments
size

object of class integer


Method setResolution()

Sets the resolution

Usage
ISODimension$setResolution(resolution)
Arguments
resolution

object of class ISOMeasure or any subclass ISOLength, ISODistance, ISOAngle, ISOScale


Method clone()

The objects of this class are cloneable with this method.

Usage
ISODimension$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_Dimension

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/msr/1.0/msr/#element_MD_Dimension

Examples

   #create dimension
   md <- ISODimension$new()
   md$setName("row")
   md$setSize(1)
   md$setResolution(ISOLength$new(value=1,uom="m"))
   xml <- md$encode()
   

eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.